NotFoundException class

The exception is thrown when the object is not found.

Response form the server:

{
  "error": "not-found",
  "message": "Invoice with number invoice_number does not exist"
}
Inheritance

Constructors

NotFoundException(String message)
The exception is thrown when the object is not found.
const

Properties

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

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