Skip to content

NotAuthenticated

Defined in: errors.ts:40

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

Defined in: errors.ts:41

string = "Not Authenticated"

unknown

unknown[]

string

NotAuthenticated

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