Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NullValueError

An error that signals that a null or undefined value was encountered.

Hierarchy

  • Error
    • NullValueError

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • The constructor creates NullValueError objects.

    Parameters

    • message: string

      The error message

    Returns NullValueError

Properties

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Static type

type: "null_value_error" = "null_value_error"

The null_value_error error type

Methods

getType

  • getType(): string
  • Get the error type

    Returns string