mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 13:41:40 +00:00
update
This commit is contained in:
28
node_modules/rxjs/util/EmptyError.js
generated
vendored
Normal file
28
node_modules/rxjs/util/EmptyError.js
generated
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
"use strict";
|
||||
var __extends = (this && this.__extends) || function (d, b) {
|
||||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];
|
||||
function __() { this.constructor = d; }
|
||||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||||
};
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
var EmptyError = (function (_super) {
|
||||
__extends(EmptyError, _super);
|
||||
function EmptyError() {
|
||||
var err = _super.call(this, 'no elements in sequence');
|
||||
this.name = err.name = 'EmptyError';
|
||||
this.stack = err.stack;
|
||||
this.message = err.message;
|
||||
}
|
||||
return EmptyError;
|
||||
}(Error));
|
||||
exports.EmptyError = EmptyError;
|
||||
//# sourceMappingURL=EmptyError.js.map
|
Reference in New Issue
Block a user