SerializedError
Type Alias: SerializedError
Section titled “Type Alias: SerializedError”SerializedError =
object
Defined in: types.ts:36
Serialized representation of an Error, safe to JSON-encode and ship to a
transport. Captures the common fields plus the cause chain (recursive,
depth-capped) and Node-style code for I/O errors.
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:SerializedError
Defined in: types.ts:43
Recursive cause chain (from new Error(..., { cause })). Depth-capped at 3.
optionalcode?:string|number
Defined in: types.ts:41
Node-style error code, e.g. "ENOENT" or numeric errno.
message
Section titled “message”message:
string
Defined in: types.ts:38
name:
string
Defined in: types.ts:37
stack?
Section titled “stack?”
optionalstack?:string
Defined in: types.ts:39