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 manifest fetch / parse failures. Construction sites set
context.manifestUrlandcontext.reason(one of'fetch-failed' | 'http-error' | 'parse-failed' | 'invalid') so handlers can route on the specific failure mode.