Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OutOfBoundsError

An error that indicates that the requested index is out of bounds.

Hierarchy

  • Error
    • OutOfBoundsError

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • The constructor creates OutOfBoundsError objects.

    Parameters

    • message: string

      The error message

    Returns OutOfBoundsError

Properties

message

message: string

name

name: string

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor

Static type

type: "out_of_bounds_error" = "out_of_bounds_error"

The out_of_bounds_error error type

Methods

getType

  • getType(): string
  • Get the error type

    Returns string