Skip to content

Unprocessable

Defined in: errors.ts:70

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

Defined in: errors.ts:71

string = "Unprocessable Entity"

unknown

unknown[]

string

Unprocessable

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