Creates an instance of RemoteCallError.
The HTTP status number of the response.
The HTTP status text of the response.
Optionaljson: ErrorJsonThe body of the response in JSON format.
OptionaloriginalStack: stringThe stack trace from the original error.
Optionalurl: string | URLThe API url this error is related to.
Optional ReadonlyjsonThe body of the response in JSON format.
Optional ReadonlyoriginalThe stack trace from the original error.
ReadonlystatusThe HTTP status number of the response.
ReadonlystatusThe HTTP status text of the response.
Optional ReadonlyurlThe API url this error is related to.
Common error class to be used for throwing HTTP/Service call related error.