wed
Version:
Wed is a schema-aware editor for XML documents.
24 lines (21 loc) • 501 B
JavaScript
define(function(require,exports,module){
/**
* 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() {
super('no elements in sequence');
this.name = 'EmptyError';
Object.setPrototypeOf(this, EmptyError.prototype);
}
}
//# sourceMappingURL=EmptyError.js.map
return module.exports;
});