import{format as r}from"../../utilities/format/string.js";export class IdentifyError extends Error{errors;constructor(o,s,...e){super(s&&r(s,...e)||"One or more sources could not be identified."),this.name="IdentifyError",this.errors=new Map;for(const[r,s]of o)if(Array.isArray(r))for(const o of r)this.errors.set(o,s);else this.errors.set(r,s)}}