Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[HttpClient] Allow yielding Exception from MockResponse's $body to mock transport errors#44568

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@fancyweb
Copy link
Contributor

QA
Branch?6.1
Bug fix?no
New feature?yes
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

A minor DX feature to allow simulating error chunks more easily (instead of being forced to throw from a \Generator).

@carsonbotcarsonbot added this to the6.1 milestoneDec 11, 2021
@fancywebfancywebforce-pushed thehttp-client/mock-response-exception branch 2 times, most recently froma7092dd to13d234cCompareDecember 11, 2021 14:27
@fancywebfancywebforce-pushed thehttp-client/mock-response-exception branch from13d234c tobbfe9d8CompareDecember 11, 2021 15:30
@fancywebfancyweb changed the title[HttpClient] Allow passing an exception directly in the MockResponse body[HttpClient] Allow yielding Exception from MockResponse's $body to mock transport errorsDec 11, 2021
@fancywebfancyweb merged commit0f03f94 intosymfony:6.1Dec 18, 2021
@fancywebfancyweb deleted the http-client/mock-response-exception branchDecember 18, 2021 13:00
@fabpotfabpot mentioned this pull requestApr 15, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.1

Development

Successfully merging this pull request may close these issues.

3 participants

@fancyweb@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp