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 any failure during remote plugin loading. Construction sites set
context.locatorandcontext.reason(one of'invalid-locator' | 'manifest-error' | 'cache-error' | 'import-failed' | 'meta-missing' | 'meta-mismatch' | 'duplicate-id') so handlers can route on the failure mode.