onConnectFailed
Introduction
Callback for failure to connect to server
Returned template
onConnectFailed = void Function(
number code
string error
)
Return value details
name | type | description |
---|---|---|
code | number | error code |
error | string | The description of the failure. |