biofriction-wp-theme/node_modules/rxjs/_esm2015/util/ArgumentOutOfRangeError.js

19 lines
572 B
JavaScript
Raw Permalink Normal View History

2021-10-26 14:18:09 +02:00
/**
* An error thrown when an element was queried at a certain index of an
* Observable, but no such index or position exists in that sequence.
*
* @see {@link elementAt}
* @see {@link take}
* @see {@link takeLast}
*
* @class ArgumentOutOfRangeError
*/
export class ArgumentOutOfRangeError extends Error {
constructor() {
const err = super('argument out of range');
this.name = err.name = 'ArgumentOutOfRangeError';
this.stack = err.stack;
this.message = err.message;
}
}
//# sourceMappingURL=ArgumentOutOfRangeError.js.map