basalt / storage/src / StorageInvalidScopeError
Class: StorageInvalidScopeError
Defined in: storage/src/errors.ts:224
The resolved scope prefix is not a safe path prefix — for the default scope, a tenant id that is not one canonical path segment (.., a/b, control characters, Acme, ÄCME). Refused so a tenant id can never address another tenant's tree or the bucket root — including on a case- or normalization-insensitive filesystem (APFS, NTFS), where Acme and acme would otherwise open the same directory while S3 keeps them apart.
Extends
Constructors
Constructor
> new StorageInvalidScopeError(): StorageInvalidScopeError
Defined in: storage/src/errors.ts:225
Returns
StorageInvalidScopeError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).