wishthis/node_modules/rxjs/_esm2015/internal/util/EmptyError.js
2022-01-21 09:28:41 +01:00

12 lines
No EOL
377 B
JavaScript

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