Connection.addError

Adds an error to the given connection. This function is usually called by providers, to inform clients of errors that happened during some operation. As soon as a provider (or a client, it does not matter) calls this function, the connection object (and the associated GdaClient object) emits the "error" signal, to which clients can connect to be informed of errors.

class Connection
void
addError

Parameters

error ErrorGda

is stored internally, so you don't need to unref it.

Meta