mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-13 22:15:25 +00:00
update
This commit is contained in:
19
node_modules/rxjs/_esm2015/util/EmptyError.js
generated
vendored
Normal file
19
node_modules/rxjs/_esm2015/util/EmptyError.js
generated
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* An error thrown when an Observable or a sequence was queried but has no
|
||||
* elements.
|
||||
*
|
||||
* @see {@link first}
|
||||
* @see {@link last}
|
||||
* @see {@link single}
|
||||
*
|
||||
* @class EmptyError
|
||||
*/
|
||||
export class EmptyError extends Error {
|
||||
constructor() {
|
||||
const err = super('no elements in sequence');
|
||||
this.name = err.name = 'EmptyError';
|
||||
this.stack = err.stack;
|
||||
this.message = err.message;
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=EmptyError.js.map
|
Reference in New Issue
Block a user