Documentation / @zerotal/core / storage / PathTraversalError
Class: PathTraversalError
Defined in: storage/errors.ts:28
Thrown when a requested path would escape the disk's root directory.
Extends
Constructors
Constructor
new PathTraversalError(
path):PathTraversalError
Defined in: storage/errors.ts:29
Parameters
path
string
Returns
PathTraversalError
Overrides
Properties
code
readonlycode:string
Defined in: errors/ZerotalError.ts:18
Inherited from
status
readonlystatus:number=500
Defined in: errors/ZerotalError.ts:19
Inherited from
context?
readonlyoptionalcontext?:Record<string,unknown>
Defined in: errors/ZerotalError.ts:20