Regaez/grav-plugin-api

fix: override Slim default error handlers

Regaez opened this issue · 0 comments

By default, Slim returns HTML pages for various error states. We should override these so that the API will be consistent and always return a JSON structure.