-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Documenting ErrorRenderer and ErrorHandler components #12187
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5a0d170
to
2c78789
Compare
8123fd8
to
5136a17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 👍🏻
It's targeted master, it's should be on 4.4 ? |
Yes 4.4 👍🏻 |
available, the handler uses a Symfony Response object; if not, it falls | ||
back to a regular PHP response. | ||
|
||
Catches PHP errors and turn them into exceptions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, documenting symfony/symfony#33155, close #12193
@wouterj could you please leave some feedback here? Thanks. |
I have some proposals to reword some things and to change some sections ... but I prefer to do that in a separate PR to allow others to review the proposed changes. That's why I'm merging this "as is". Yonel, thanks a lot for such a nice contribution! |
…aviereguiluz, yceruto) This PR was merged into the 4.4 branch. Discussion ---------- Documenting ErrorRenderer and ErrorHandler components Replace #11864 Closes #12193 #12009 #11980 #12015 #12019 #12029 Should we remove the whole Debug component documentation? or remove only the details and say it's deprecated? Commits ------- 8cc084f documenting the ErrorHandler::call method 3ea9817 fix service definition 5a025c9 fix example 5136a17 Update with latest changes: ErrorRenderer and ErrorHandler components b0723ef Fixed a method name b600b3c Renamed ErrorCatcher as ErrorRenderer 4e333c1 Fixes b2a1a9b Documented the ErrorCatcher component
…onents (javiereguiluz) This PR was squashed before being merged into the 4.4 branch (closes #12344). Discussion ---------- Some rewords for the ErrorHandler and ErrorRenderer components This continues #12187 with some rewords. Commits ------- 6220b48 Some rewords for the ErrorHandler and ErrorRenderer components
Replace #11864
Closes #12193 #12009 #11980 #12015 #12019 #12029
Should we remove the whole Debug component documentation? or remove only the details and say it's deprecated?