Skip to content

jin-frame / tools/responses/getStatusFromAxiosError / getStatusFromAxiosError

Function: getStatusFromAxiosError()

getStatusFromAxiosError(error): object

Defined in: src/tools/responses/getStatusFromAxiosError.ts:4

Parameters

error

AxiosError

Returns

object

status

status: number

statusText

statusText: string