radiate-framework / framework

A WordPress plugin and theme framework
https://radiate-framework.github.io/
MIT License
4 stars 0 forks source link

Enhanced HTTP error exceptions #117

Closed BenRutlandWeb closed 2 years ago

BenRutlandWeb commented 3 years ago

Is your feature request related to a problem? Please describe. Currently, the framework only throws HTTPResponseException.

Describe the solution you'd like It would be useful to throw Auth, PageNotFound, etc exceptions to cater for more use cases

Describe alternatives you've considered Catching exceptions and checking the status codes

Additional context Improvements to the exception handler would improve API responses

BenRutlandWeb commented 2 years ago

closed by #135