new TransportError(causeopt, statusCodeopt, responseTextopt)
A TransportError
is a custom Error
thrown when a request to a remote server fails.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
cause |
* |
<optional> |
null | The underlying cause of this |
statusCode |
Number |
<optional> |
0 | The HTTP status code sent by the server, if the request reached the server. |
responseText |
String |
<optional> |
null | The HTTP response sent by the server, if any. |
- Source:
- See:
-
- Transport
- Error