AlfredException class

Throw these exceptions to bubble up an error from sub functions and have them handled automatically for the client

Implemented types

Constructors

AlfredException(int statusCode, Object? response)

Properties

hashCode int
The hash code for this object.
no setterinherited
response Object?
The response to send to the client
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The statusCode to send to the client
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