-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[NFR]: Add a method that describes an exception to HTML format #14794
Labels
new feature request
Planned Feature or New Feature Request
Comments
I created a new method @niden Please see |
Feel free to always create PR if you want, you don't have to ask for permission @TimurFlush :) |
Thank you @TimurFlush Resolved in #14812 |
And you (: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
The
Phalcon\Debug
class now generates an HTML view with every new exception.My idea is to add public method
renderHtml(\Throwable $ex): string
.That is, the class work will not change, but developers can use this method in their solutions to generate HTML representation as a string.
For example, the developer does not want to use the standard mechanism of catching exceptions which provides Phalcon, and wants just to receive HTML representation from this mechanism as a string.
Thanks.
I'm waiting for feedback.
The text was updated successfully, but these errors were encountered: