Skip to content

@fathom-rules/sdk


@fathom-rules/sdk / FathomError

Class: FathomError

Defined in: errors.ts:30

Base error for all Fathom API failures.

Contains the raw HTTP status code (0 for network/abort errors) and the raw response body string for inspection.

Extends

  • Error

Extended by

Constructors

Constructor

new FathomError(status, body): FathomError

Defined in: errors.ts:31

Parameters

status

number

body

string

Returns

FathomError

Overrides

Error.constructor

Properties

body

readonly body: string

Defined in: errors.ts:33


status

readonly status: number

Defined in: errors.ts:32