ErrorWriter class abstract

Error writer interface

Error writer is used by Jaguar server to write 404 and 500 errors

Implementers

Constructors

ErrorWriter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

make404(Context ctx) FutureOr<Response>
Makes Response for 404 error
make500(Context ctx, Object error, [StackTrace stack]) FutureOr<Response>
Makes Response for 500 error
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