Abort class

Implemented types

Constructors

Abort(int status, {String? message})
Creates a new http status abort exception

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
The message describing the abort.
latefinaloverride-getter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
The status code of the abort.
final

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

Static Methods

redirect(String location, {int status = HttpStatus.movedTemporarily, String? message}) → Never
Creates a new redirecting exception.