Creates a new SquidClientError instance.
A custom error message.
The HTTP status code returned by the server (e.g., 400, 403, 422).
Optionalurl: stringThe URL that was called when the error occurred.
Optionalheaders: Record<string, string>The HTTP response headers.
Optionalbody: BodyTypeThe parsed body of the error response.
Optional ReadonlybodyThe parsed body of the error response.
Optional ReadonlyheadersThe HTTP response headers.
ReadonlystatusThe HTTP status code returned by the server (e.g., 400, 403, 422).
Optional ReadonlyurlThe URL that was called when the error occurred.
Represents an error thrown during an RPC (Remote Procedure Call) made by the Squid SDK.
This error contains detailed HTTP-level information such as the status code, response body, headers, and the request URL, allowing for better debugging and error handling in client code.