Core
AnyFault
Any fault at all, whatever its decoded error-body type.
@defjs/core · Type
Signature
type AnyFault = | DecodeFault | HttpStatusFaultOf<undefined> | HttpStatusFaultOf<unknown> | PreflightFault;
Use it for handlers that classify faults without caring which endpoint produced
them. Prefer Fault<typeof yourErrorStruct> where the body type matters.