Disable error throw (Suggestion)
I would like the ability to disable error throwing, through a setting in the setup perhaps.
Examples in which this could be a good idea.
When making a request to a deleted item we get the PodioGoneError or PodioNotFoundError, all of these errors can be disabled manually btw.
But, if i'd like to react on this PodioGoneError, i can't. I can't make an if statement checking wether or not my App has been removed or not. (Atleast through laravel) If i had an option to disable the error throw that leaves me with an empty array/object instead, it would be an easier workflow. Thanks
-
You just have to use try catch statements to "catch" the thrown exceptions.
Read more here: http://php.net/manual/en/language.exceptions.php
Please sign in to leave a comment.
Comments
1 comment