Skip to main content

CookieMissingError

Thrown when the cookie you’re trying to retrieve has not been set yet.

Learn more

Hierarchy

  • RuntimeError
    • CookieMissingError

Index

Constructors

constructor

  • Parameters

    • message: string
    • optionalcause: Error

    Returns CookieMissingError

Properties

externalname

name: string

externalmessage

message: string

externaloptionalstack

stack?: string

optionalreadonlycause

cause?: Error

Methods

toString

  • toString(): string
  • Human-readable description of the error


    Returns string

toJSON

  • toJSON(): object
  • Returns object