ShorebirdException class
An exception that can be thrown by the user's code and will be caught by the exception handler middleware. Subclass this to create your own exceptions. All other exceptions will be caught and a generic 500 will be returned.
- Implemented types
Constructors
- ShorebirdException(String message, {int status = 500})
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited