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 494B

123456789101112
  1. function UnsubscriptionErrorImpl(errors) {
  2. Error.call(this);
  3. this.message = errors ?
  4. `${errors.length} errors occurred during unsubscription:
  5. ${errors.map((err, i) => `${i + 1}) ${err.toString()}`).join('\n ')}` : '';
  6. this.name = 'UnsubscriptionError';
  7. this.errors = errors;
  8. return this;
  9. }
  10. UnsubscriptionErrorImpl.prototype = Object.create(Error.prototype);
  11. export const UnsubscriptionError = UnsubscriptionErrorImpl;
  12. //# sourceMappingURL=UnsubscriptionError.js.map