Skip to content
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

How can i edit ParserException #52

Open
Trikitto opened this issue Mar 29, 2018 · 1 comment
Open

How can i edit ParserException #52

Trikitto opened this issue Mar 29, 2018 · 1 comment

Comments

@Trikitto
Copy link

Hi,

First of all great package!
I want to edit de method render() in ParserException.php.
But if i do it probably be overwritten when a new version of this package is been released.

Can anyone tell me how i can exclude this or how to use my own custom ParserException in app/Exceptions?

Thanks in advance!

@danhunsaker
Copy link
Contributor

Generally, folks will catch an exception from a package and then either handle it immediately, or throw a custom exception of their own, which can contain a reference to the first if you'd like to grab its contents while rendering your own output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants