Core
PreflightFault
A failure that may have happened before any response existed.
@defjs/core · Type
Signature
type PreflightFault = Error & { cause?: unknown; code: PreflightFaultCode; response?: HttpMeta; };
Covers REQ_*, NET_*, EXT_*, CAP_*, and ENV_UNSUPPORTED. response
is present only where the transport already had metadata to report, such as a
body that truncated mid-download.
Members
Prop
Type
code PreflightFaultCoderesponse? HttpMeta | undefined