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.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AuraResponseError( message, status?, cause?): AuraResponseError;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message |
string |
status? |
number |
cause? |
unknown |
Returns
Section titled “Returns”AuraResponseError
Overrides
Section titled “Overrides”Properties
Section titled “Properties”| Property | Modifier | Type |
|---|---|---|
status |
readonly |
number | undefined |