Skip to content

@fathom-rules/sdk


@fathom-rules/sdk / ValidationError

Class: ValidationError

Defined in: errors.ts:59

HTTP 400 or 422 — the request body failed validation. The caller should inspect FathomError.body for details.

Extends

Constructors

Constructor

new ValidationError(status, body): ValidationError

Defined in: errors.ts:60

Parameters

status

number

body

string

Returns

ValidationError

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