Detailed information about an error. More...
|Identifier of the class of errors. |
|Particular error code. For errors from the system domain it is equal to |
|Text message describing the error. It is allocated when the error struct is created and freed with gwyfile_error_clear(). |
Detailed information about an error.
GwyfileError is modelled after
GError and represents a detailed error information that you can optionally obtain from I/O functions.
If you are not interested in the details, you can always pass
NULL to all functions taking a GwyfileError** argument. If you pass a pointer to a
NULL initialised GwyfileError*, the function will fill it with the error details on failure.
Note the error must be
NULL initialised: error pileup is not permitted. Function gwyfile_error_clear() frees the error structure and sets the pointer to