Optionaloptions: BaseErrorOptionsOptionalcauseOptionalstackStaticnameStatic OptionalprepareStaticstackFallback message.
StaticcaptureOptionalconstructorOpt: FunctionStaticextendStaticisName equality, not an instanceof, so an error rebuilt from the wire still matches.
A subclass that renames itself therefore does NOT match its parent, so define
siblings rather than a renaming subclass.
StaticisStaticwrapReturns a catch/mapError callback that wraps a thrown value in this class.
Optionaloptions: Omit<BaseErrorOptions, "cause"> & { ifTypeDiffers?: boolean }Pass an error of this class through untouched.
OptionalifTypeDiffers?: booleanPass an error of this class through untouched.
Tagged error for plugin-level dependency resolution failures.
context.idis the plugin id the manager was acting on.context.reasondiscriminates the failure mode:'missing'— declared dep is neither registered nor in the catalog.context.missinglists offending ids.'install-failed'— dep was found in the catalog butadd()failed.causecarries the original error.'cycle'— closure walk detected a cycle.context.pathis the cycle path.'core-dependent'— cascade-disable would have to disable a core plugin.context.coreDependentis the blocking id.