import { createErrorClass as o } from "./index-createErrorClass.js";
var c = o(function(n) {
  return function(r) {
    n(this), this.message = r ? r.length + ` errors occurred during unsubscription:
` + r.map(function(i, t) {
      return t + 1 + ") " + i.toString();
    }).join(`
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
  };
});
export {
  c as UnsubscriptionError
};
