Jaymon / endpoints

Lightweight REST api backend framework that automatically maps urls to python modules and classes
MIT License
29 stars 10 forks source link

More granular error objects #136

Open Jaymon opened 7 months ago

Jaymon commented 7 months ago

Using jsonapi for a project and I'm realizing I'm not taking full advantage of the detail an exception can provide. For example, it would be great to have a ParamError that would give the specific param that raised the error and the AccessError could mark the header or params that failed.

Jaymon commented 6 months ago

This is also related to https://github.com/Jaymon/endpoints/issues/109