Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
377 bytes
|
Line | |
---|
1 | const EmptyErrorImpl = (() => {
|
---|
2 | function EmptyErrorImpl() {
|
---|
3 | Error.call(this);
|
---|
4 | this.message = 'no elements in sequence';
|
---|
5 | this.name = 'EmptyError';
|
---|
6 | return this;
|
---|
7 | }
|
---|
8 | EmptyErrorImpl.prototype = Object.create(Error.prototype);
|
---|
9 | return EmptyErrorImpl;
|
---|
10 | })();
|
---|
11 | export const EmptyError = EmptyErrorImpl;
|
---|
12 | //# sourceMappingURL=EmptyError.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.