KoolbaseStorageQuotaExceededException class

Thrown when an upload would push the bucket past its configured max_size_bytes quota — the server responds with 409 Conflict and code quota_exceeded. The server cleans up the underlying R2 object before returning; nothing leaks. Catch this to surface a "bucket is full" message or prompt the caller to delete older files. The per-bucket quota is set at bucket creation time and is currently immutable.

Distinct from KoolbaseStorageConflictException (which also uses 409 but means "path collides"); branch on the exception type, not status.

Inheritance

Constructors

KoolbaseStorageQuotaExceededException([String message = 'Bucket quota exceeded'])
const

Properties

code String?
The server's stable error code, when present.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Human-readable message from the server (or a sensible default).
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