wishthis/node_modules/rxjs/_esm2015/internal/util/EmptyError.js

12 lines
377 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
const EmptyErrorImpl = (() => {
function EmptyErrorImpl() {
Error.call(this);
this.message = 'no elements in sequence';
this.name = 'EmptyError';
return this;
}
EmptyErrorImpl.prototype = Object.create(Error.prototype);
return EmptyErrorImpl;
})();
export const EmptyError = EmptyErrorImpl;
//# sourceMappingURL=EmptyError.js.map