You should catch all exceptions and transform them via JsonApiServer::handleException
into a json api response, which can be handled like a normal document response, unless you have no custom JSON API exception conversion.
prev: Request validator | back to README | next: Validator for data models