blob: 6f0cbcca165186602e7723e2318f6e27dee93b6f [file] [log] [blame]
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