edf7d1555108b8df153d37c7da77e44e5992eb268ace64c0aa9abd8727fada54e8a44b171ffb5fd4c51ec955dd577392ad3ce3c1cbea29be93d9b7e88340ad 541 B

123456789101112
  1. import { createErrorClass } from './createErrorClass';
  2. export var UnsubscriptionError = createErrorClass(function (_super) {
  3. return function UnsubscriptionErrorImpl(errors) {
  4. _super(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. : '';
  8. this.name = 'UnsubscriptionError';
  9. this.errors = errors;
  10. };
  11. });
  12. //# sourceMappingURL=UnsubscriptionError.js.map