Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UnsubscriptionError.js 585B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function UnsubscriptionErrorImpl(errors) {
  4. Error.call(this);
  5. this.message = errors ?
  6. errors.length + " errors occurred during unsubscription:\n" + errors.map(function (err, i) { return i + 1 + ") " + err.toString(); }).join('\n ') : '';
  7. this.name = 'UnsubscriptionError';
  8. this.errors = errors;
  9. return this;
  10. }
  11. UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
  12. exports.UnsubscriptionError = UnsubscriptionErrorImpl;
  13. //# sourceMappingURL=UnsubscriptionError.js.map