Skip to content

AuraConnectionError

Thrown when the request never reached a server — connection refused, DNS miss, TLS failure. Distinct from AuraResponseError: there is no response to have misread.

url is the request’s own target rather than the client’s base URL, because a byte upload goes to a storage host the base URL does not name.

new AuraConnectionError(
message,
url,
code?,
cause?): AuraConnectionError;
Parameter Type
message string
url string
code? string
cause? unknown

AuraConnectionError

AuraError.constructor

Property Modifier Type Description
code readonly string | undefined The OS-level reason when the runtime exposed one, e.g. ECONNREFUSED.
url readonly string The URL the request was sent to.