UNPKG

@zxing/library

Version:

TypeScript port of ZXing multi-format 1D/2D barcode image processing library.

13 lines (12 loc) 428 B
import IndexOutOfBoundsException from './IndexOutOfBoundsException'; /** * Custom Error class of type Exception. */ export default class ArrayIndexOutOfBoundsException extends IndexOutOfBoundsException { constructor(index = undefined, message = undefined) { super(message); this.index = index; this.message = message; } } ArrayIndexOutOfBoundsException.kind = 'ArrayIndexOutOfBoundsException';