NotFoundException class

Exception indicating a response could not be created.

Inheritance

Constructors

NotFoundException(int found)
Constructor.

Properties

found ↔ int
Indicates how much was found before a result could not be created. [...]
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() → String
String representation
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Constants

foundHandler → const int
Value for found when a handler was found, but no result was produced.
2
foundMethod → const int
Value for found when at least one handler for the HTTP method was found, but none of them matched the request path.
1
foundNothing → const int
Value for found when no handlers for the HTTP method were found.
0
foundStaticHandler → const int
Value for found when a StaticFile handler failed to produce a response. [...]
3