Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SessionError

An error that is reported from a service call.

Hierarchy

  • Error
    • SessionError

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • The constructor creates SessionError objects.

    Parameters

    • message: string

      The error message

    • Optional cause: Error

    Returns SessionError

Properties

Optional cause

cause: Error

The cause of the error

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Static type

type: "session_error" = "session_error"

The session_error error type

Methods

getType

  • getType(): string
  • Get the error type

    Returns string