9 lines
No EOL
284 B
JavaScript
9 lines
No EOL
284 B
JavaScript
function EmptyErrorImpl() {
|
|
Error.call(this);
|
|
this.message = 'no elements in sequence';
|
|
this.name = 'EmptyError';
|
|
return this;
|
|
}
|
|
EmptyErrorImpl.prototype = Object.create(Error.prototype);
|
|
export const EmptyError = EmptyErrorImpl;
|
|
//# sourceMappingURL=EmptyError.js.map
|