Class AccessDeniedError

Error thrown when the user is not authorized to access a route

Hierarchy

  • AuthError
    • AccessDeniedError

Constructors

  • Parameters

    • errorCode: string
    • Optional errorMessage: string
    • Optional route: string
    • Optional account: AccountInfo

    Returns AccessDeniedError

Properties

account?: AccountInfo
route?: string

Methods

Generated using TypeDoc