KoolbaseStorageFileTooLargeException class

Thrown when a single file exceeds the bucket's configured max_file_size_bytes — the server responds with 413 Payload Too Large and code file_too_large. The server cleans up the underlying R2 object before returning. The configured per-file limit lives on the bucket record; check Bucket.maxFileSizeBytes to surface a clear "files must be under X MB" message at the call site.

Inheritance

Constructors

KoolbaseStorageFileTooLargeException([String message = 'File exceeds the bucket maximum file size'])
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