class o extends Error{title;constructor(s,e){super(s),this.title=e,this.name="UserVisibleError"}}class a extends o{issues;constructor(s){super(`Cannot delete because of references: ${s.map(e=>e.ref.path.join(".")).join(", ")}`),this.issues=s}}class u extends o{issues;constructor(s){super(s.map(e=>e.message).join("; ")),this.issues=s,this.name="DefinitionIssueError"}}class c extends o{items;constructor(s){super(`Plugin types still in use: ${s.map(e=>e.discriminatorValue).join(", ")}`),this.items=s}}class l extends o{constructor(s="The item you are looking for could not be found"){super(s,"Not found")}}function d(r){return r.issues.map(e=>{const{path:t,message:n}=e;return`${t.join(".")}: ${n}`}).join("; ")}export{u as D,l as N,c as O,a as R,o as U,d as f};
//# sourceMappingURL=error-Deo1phpd.js.map
