Skip to content

AuthorizationError

Popii


Popii / AuthorizationError

Defined in: runtime/errors.ts:15

get retryable(): boolean

Defined in: runtime/errors.ts:9

boolean

FrameworkError.retryable


get visibility(): ErrorVisibility

Defined in: runtime/errors.ts:10

ErrorVisibility

FrameworkError.visibility

new AuthorizationError(message?): AuthorizationError

Defined in: runtime/errors.ts:15

string = "You do not have permission to do that"

AuthorizationError

FrameworkError.constructor

readonly code: string

Defined in: runtime/errors.ts:5

FrameworkError.code


readonly options: object = {}

Defined in: runtime/errors.ts:7

optional cause?: unknown

optional metadata?: Record<string, unknown>

optional retryable?: boolean

optional visibility?: ErrorVisibility

FrameworkError.options