Skip to content

Forbidden

Defined in: errors.ts:46

new Forbidden(message?, data?, errors?, hint?): Forbidden

Defined in: errors.ts:47

string = "Forbidden"

unknown

unknown[]

string

Forbidden

MantleError.constructor

readonly className: string

Defined in: errors.ts:3

MantleError.className


readonly code: number

Defined in: errors.ts:2

MantleError.code


readonly optional data?: unknown

Defined in: errors.ts:4

MantleError.data


readonly optional errors?: unknown[]

Defined in: errors.ts:5

MantleError.errors


readonly optional hint?: string

Defined in: errors.ts:7

Actionable guidance for the caller — what to change so the request succeeds. Serialized in toJSON().

MantleError.hint

toJSON(): Record<string, unknown>

Defined in: errors.ts:20

Record<string, unknown>

MantleError.toJSON