StorageError
Defined in: src/errors.ts:264
Error thrown when a storage operation fails.
Wraps backend-specific errors (filesystem, S3, network) with a uniform type that consumers can catch without knowing which backend is in use.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StorageError(message, options?): StorageError;Defined in: src/errors.ts:271
Creates a new StorageError.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
message | string | Error message describing the storage failure |
options? | ErrorOptions | Optional error options including cause for error chaining |
Returns
Section titled “Returns”StorageError
Overrides
Section titled “Overrides”Error.constructor