2 Object.defineProperty(exports, "__esModule", { value: true });
3 var UnsubscriptionErrorImpl = (function () {
4 function UnsubscriptionErrorImpl(errors) {
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';
12 UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
13 return UnsubscriptionErrorImpl;
15 exports.UnsubscriptionError = UnsubscriptionErrorImpl;
16 //# sourceMappingURL=UnsubscriptionError.js.map