Error Type
Union cases
| Union case | Description |
Full Usage:
ConnectionError string
Parameters:
string
|
|
Full Usage:
InputDataError dataError
Parameters:
int option * string
|
Denotes either that Suave could not interpret the data sent on the socket or that the data sent on the socket did not conform to the relevant specification (TCP/HTTP/1.1/SSE/WebSocket etc). For a HTTP socket user this means a response of '400 Bad Request', or for example WebSockets would abort the connection. You can specify `Some statusCode` as response status code. If `None` status code 400 will be used.
|
|
|
Instance members
| Instance member | Description |
Full Usage:
this.IsConnectionError
Returns: bool
|
|
Full Usage:
this.IsInputDataError
Returns: bool
|
|
Full Usage:
this.IsSocketError
Returns: bool
|
|