Previous: Client requests, Up: Implementation


3.3 Error codes

In general Libassuan should be used with gpg-error style error codes. For compatibility reasons and for applications not wanting to use these error codes, the old Assuan error codes may still be used. In fact they are used by default. To switch to gpg-error style error codes, applications should call the function assuan_set_assuan_err_source right after startup.