You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The package often throws exception which is very good for error handling and debugging. But catching or handling those exceptions are kind of problematic. Since the package only throws \Exception, it's hard to catch them by their specific name as all exceptions extend this base Exception class.
So it would be good if those exceptions were custom made.
Describe the solution you'd like
Create and throw custom exception classes that extend the base \Exception class. For example, EloquentFilterException etc. So, one can simply do this:
Is your feature request related to a problem? Please describe.
The package often throws exception which is very good for error handling and debugging. But catching or handling those exceptions are kind of problematic. Since the package only throws
\Exception
, it's hard to catch them by their specific name as all exceptions extend this baseException
class.So it would be good if those exceptions were custom made.
Describe the solution you'd like
Create and throw custom exception classes that extend the base
\Exception
class. For example,EloquentFilterException
etc. So, one can simply do this:Thanks.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: