import{format as r}from"../utilities/format/string.js";export class InitializeError extends Error{failureMode;error;target;constructor(i,t,e,o,...s){super(r(o||"Failed to initialize item: {0}.",...o?s:[t])),this.name="InitializeError",this.failureMode=i,this.error=t,this.cause=t,this.target=e}}