NotFoundException class sealed
A referenced resource does not exist.
The concrete subtypes (OrganizationNotFoundException,
ProjectNotFoundException, PackageNotFoundException,
ReleaseNotFoundException, AssetNotFoundException) each carry their own
ErrorCodes value, so a caller can tell which link in the chain was
missing — GET /packages/{id}/releases/latest can fail because the package
is unknown or because it has no release on the requested channel, and those
deserve different handling.
- Inheritance
-
- Object
- OmnyStoreException
- NotFoundException
- Implementers
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@versionreference).final - 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