KoolbaseStorageException class

Base class for errors surfaced by the Koolbase storage layer (uploads, downloads, deletes, and bucket/object operations). Every storage error carries a human-readable message and, when the server provides one, its stable code (e.g. path_conflict).

Catch this to handle any storage failure generically, or catch a specific subtype (KoolbaseStorageConflictException, KoolbaseStorageNotFoundException, …) to branch on the kind of failure. Something went wrong uploading, downloading, or managing stored objects.

Sits under KoolbaseException with the other families, so an application can catch any SDK failure in one place when it wants to.

Inheritance
Implementers

Constructors

KoolbaseStorageException(String message, {String? code})
const

Properties

code String?
The server's stable error code, when it sent one. Prefer branching on the exception type; this is for logging and for codes the SDK does not yet map.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
What went wrong, in words. From the server where it said something useful.
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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited