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:
708 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | var UnsubscriptionErrorImpl = (function () {
|
---|
| 4 | function UnsubscriptionErrorImpl(errors) {
|
---|
| 5 | Error.call(this);
|
---|
| 6 | this.message = errors ?
|
---|
| 7 | errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ') : '';
|
---|
| 8 | this.name = 'UnsubscriptionError';
|
---|
| 9 | this.errors = errors;
|
---|
| 10 | return this;
|
---|
| 11 | }
|
---|
| 12 | UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
|
---|
| 13 | return UnsubscriptionErrorImpl;
|
---|
| 14 | })();
|
---|
| 15 | exports.UnsubscriptionError = UnsubscriptionErrorImpl;
|
---|
| 16 | //# sourceMappingURL=UnsubscriptionError.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.