Skip to content

@fathom-rules/sdk


@fathom-rules/sdk / PolicyViolation

Class: PolicyViolation

Defined in: errors.ts:48

HTTP 403 — the policy engine denied the request. The caller is authenticated but not permitted to perform the action.

Extends

Constructors

Constructor

new PolicyViolation(status, body): PolicyViolation

Defined in: errors.ts:49

Parameters

status

number

body

string

Returns

PolicyViolation

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