Home Reference Source Repository
import ExOutOfBounds from 'lseqtree/lib/exoutofbounds.js'
public class | source

ExOutOfBounds

Thrown when the index is higher than the current length-1 of the array, or lower than 0.

Constructor Summary

Public Constructor
public

constructor(index: Number, size: Number)

Member Summary

Public Members
public

index: *

public

size: *

Public Constructors

public constructor(index: Number, size: Number) source

Params:

NameTypeAttributeDescription
index Number

The index out of bounds.

size Number

The size of the array.

Public Members

public index: * source

public size: * source