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 the constructor-launched core/enabled
enable()chain. Surfaces via the manager'sactivatewait on initialization so a caller blocked on initialization gets a typed failure (with the original error preserved ascause) instead of an untypedError.