exception/http_status_exception library

Classes

ForbiddenHttpException
403 Forbidden: the user is known, but may not do this.
HttpStatusException
An error answer with any status code, and optional headers.
MethodNotAllowedHttpException
405 Method Not Allowed. allow is sent in the Allow header. Dox throws it when the path has routes, but not for this method.

Functions

abort(int code, [dynamic message, Map<String, String> headers = const <String, String>{}]) → Never
Stop the request and answer with code.