Parser
Parser copied to clipboard
How can i edit ParserException
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!
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.