Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

UnsubscriptionError.js 708B

12345678910111213141516
  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