Options
All
  • Public
  • Public/Protected
  • All
Menu

Thrown when the input provided to a creation function is not compliant with RFC-7235. The message will contain a description of why the input was invalid.

Hierarchy

  • RuntimeError
    • InvalidHeaderError

Index

Constructors

Properties

Constructors

constructor

  • Create a Runtime error

    Parameters

    • message: string

      The error message

    • cause: Error

      The causing error of this error

    Returns InvalidHeaderError

  • Create a Runtime error

    Parameters

    • message: string

      The error message

    • type: string

      The identity of this error

    • cause: Error

      The causing error of this error

    Returns InvalidHeaderError

Properties

Optional cause

cause: Error

The error, if exists, that caused this error

message

message: string

The error message

name

name: string

The name of the error, which is generally the constructor name

type

type: string

A value to identify the error from other errors

Static message

message: string

Static name

name: string

Static Optional stack

stack: undefined | string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc