This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk / EnginexErrorJSON

EnginexErrorJSON ​

Serializable representation of an EnginexError (what EnginexError.toJSON returns).

Properties ​

code ​

code: EnginexErrorCode

Error code.


details? ​

optional details?: unknown

Raw map sent by the gateway, when there is one.


message ​

message: string

Human-readable message.


name ​

name: string

Always 'EnginexError'.


requestId? ​

optional requestId?: string

Request identifier for support, when there is one.


retryAfter? ​

optional retryAfter?: number

Seconds until retrying, when there is a value.


status ​

status: number

HTTP status; 0 without an HTTP response.