StorageErrorOptions
StorageErrorOptions =
object
Defined in: packages/storage/src/types.ts:19
Options used to construct a StorageError.
Combines a machine-readable code, human-readable detail, and an HTTP status code so that errors can be surfaced directly in API responses.
Properties
Section titled “Properties”code:
StorageErrorCode
Defined in: packages/storage/src/types.ts:21
Machine-readable error code.
detail
Section titled “detail”detail:
string
Defined in: packages/storage/src/types.ts:23
Human-readable description of the problem.
status
Section titled “status”status:
number
Defined in: packages/storage/src/types.ts:25
HTTP status code to surface to the client (e.g. 413, 415, 500).