AssetNotFoundException class

The referenced asset does not exist.

Inheritance

Constructors

AssetNotFoundException(String reference)
Creates the failure for the asset identified by reference.

Properties

code String
Stable, machine-readable error code (see ErrorCodes).
finalinherited
details Map<String, Object?>
Structured fields that must survive a trip across the wire.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable description of the failure.
finalinherited
reference String
What was looked up (an id, a name, or a package@version reference).
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int
The HTTP status code the REST API answers with for this failure.
finalinherited

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