GNU Info

Info Node: (gpgme.info)Error Handling

(gpgme.info)Error Handling


Next: Exchanging Data Prev: Protocols and Engines Up: Top
Enter node , (file) or (file)node

Error Handling
**************

   Many functions in GPGME can return an error if they fail.  For this
reason, the application should always catch the error condition and
take appropriate measures, for example by releasing the resources and
passing the error up to the caller, or by displaying a descriptive
message to the user and cancelling the operation.

   Some error values do not indicate a system error or an error in the
operation, but the result of an operation that failed properly.  For
example, if you try to decrypt a tempered message, the decryption will
fail.  Another error value actually means that the end of a data buffer
or list has been reached.  The following descriptions explain what each
error message means in general.  Some error values have specific
meanings if returned by a specific function.  Such cases are described
in the documentation of those functions.

Error Values
A list of all error values used.
Error Strings
How to get a descriptive string from a value.

automatically generated by info2www version 1.2.2.9