@serenity-is/corelib / RequestErrorInfo
Interface: RequestErrorInfo
Defined in: src/base/servicetypes.ts:204
HTTP-level error details supplied to ServiceOptions.onError alongside the service error payload.
Properties
responseText?
optionalresponseText:string
Defined in: src/base/servicetypes.ts:210
Raw response body text when the response could not be parsed as JSON.
status?
optionalstatus:number
Defined in: src/base/servicetypes.ts:206
HTTP status code (e.g. 403, 500).
statusText?
optionalstatusText:string
Defined in: src/base/servicetypes.ts:208
HTTP status text (e.g. "Forbidden").