Skip to content

@fathom-rules/sdk


@fathom-rules/sdk / ConnectionError

Class: ConnectionError

Defined in: errors.ts:72

HTTP ≥500, HTTP 0, or fetch rejection (network error / DNS / abort).

When constructed from a caught fetch rejection, status is set to 0 and body contains the original error message.

Extends

Constructors

Constructor

new ConnectionError(status, body): ConnectionError

Defined in: errors.ts:73

Parameters

status

number

body

string

Returns

ConnectionError

Overrides

FathomError.constructor

Properties

body

readonly body: string

Defined in: errors.ts:33

Inherited from

FathomError.body


status

readonly status: number

Defined in: errors.ts:32

Inherited from

FathomError.status