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 failures during lazy plugin resolution.
context.idis the lazy plugin'smeta.profile.key;context.reasondiscriminates the failure mode ('load-failed' | 'missing-default' | 'invalid-plugin' | 'meta-mismatch') so callers can route on it.