Skip to content

AuraResponseError

Thrown when the server answered, but with something this SDK could not read — an empty body where one was required, or a payload that is not the JSON it claimed.

status is set only when it is known: the HTTP client parses a success body eagerly and reports the failure without surfacing the response, so there is nothing honest to put there in that case.

new AuraResponseError(
message,
status?,
cause?): AuraResponseError;
Parameter Type
message string
status? number
cause? unknown

AuraResponseError

AuraError.constructor

Property Modifier Type
status readonly number | undefined