Error::Net( const char *, const char * )

Add a network-related error to an Error.

Virtual?

No

 

Class

Error

 

Arguments

const char *op

the network operation that was attempted

 

const char *arg

relevant information about that operation

Returns

void

 

Notes

To use an Error object to track network-related errors, use Net(). Note that network communication with the Helix Server and related errors are already handled by lower levels of the client API.

Example

The following example adds an error message, related to a failure to bind to a network interface, to an Error object.

e.Net( "bind", service.Text() );