AppException class
Handling application errors
- Implemented types
Constructors
- AppException(int code, String message)
- AppException.badRequest([String message = 'Bad Request'])
- AppException.forbidden([String message = 'Forbidden'])
- AppException.methodNotAllowed([String message = 'Method Not Allowed'])
- AppException.notFound([String message = 'Not Found'])
-
AppException.unprocessableEntity(List<
Validate> ? validates, [String message = 'Unprocessable Entity'])
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited