Interface: MNotifyErrorContext
Defined in: errors.ts:13
Contextual metadata attached to an error for debugging and tracing.
Properties
method?
ts
optional method?: string;Defined in: errors.ts:21
The HTTP method used in the request.
operation?
ts
optional operation?: string;Defined in: errors.ts:17
The operation being performed when the error occurred.
path?
ts
optional path?: string;Defined in: errors.ts:23
The API path that was called.
retryCount?
ts
optional retryCount?: number;Defined in: errors.ts:27
The retry count at the time of the error.
service?
ts
optional service?: string;Defined in: errors.ts:15
The service where the error occurred (e.g., "SMS", "Groups").
stage?
ts
optional stage?: "request" | "validation" | "response" | "network";Defined in: errors.ts:19
The stage of the request lifecycle where the error occurred.
url?
ts
optional url?: string;Defined in: errors.ts:25
The full URL that was requested (with API key redacted).