Actualizacion maquina principal
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / rxjs / src / internal / util / ArgumentOutOfRangeError.ts
1 export interface ArgumentOutOfRangeError extends Error {
2 }
3
4 export interface ArgumentOutOfRangeErrorCtor {
5   new(): ArgumentOutOfRangeError;
6 }
7
8 const ArgumentOutOfRangeErrorImpl = (() => {
9   function ArgumentOutOfRangeErrorImpl(this: any) {
10     Error.call(this);
11     this.message = 'argument out of range';
12     this.name = 'ArgumentOutOfRangeError';
13     return this;
14   }
15
16   ArgumentOutOfRangeErrorImpl.prototype = Object.create(Error.prototype);
17
18   return ArgumentOutOfRangeErrorImpl;
19 })();
20
21 /**
22  * An error thrown when an element was queried at a certain index of an
23  * Observable, but no such index or position exists in that sequence.
24  *
25  * @see {@link elementAt}
26  * @see {@link take}
27  * @see {@link takeLast}
28  *
29  * @class ArgumentOutOfRangeError
30  */
31 export const ArgumentOutOfRangeError: ArgumentOutOfRangeErrorCtor = ArgumentOutOfRangeErrorImpl as any;