grav-plugin-api
grav-plugin-api copied to clipboard
fix: override Slim default error handlers
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.