![]() |
![]() |
![]() |
libMirage Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
libMirage uses GLib's GError system for reporting errors. Many
functions provided by libMirage's objects take an optional error
parameter. If error
is not NULL
, in case that such function should
fail, a GError error is set into it using g_set_error()
.
Unless coming from underlying GLib's systems, the returned error
code is one of MirageErrorCodes.
typedef enum { MIRAGE_ERROR_LIBRARY_ERROR, MIRAGE_ERROR_PARSER_ERROR, MIRAGE_ERROR_FRAGMENT_ERROR, MIRAGE_ERROR_DISC_ERROR, MIRAGE_ERROR_LANGUAGE_ERROR, MIRAGE_ERROR_SECTOR_ERROR, MIRAGE_ERROR_SESSION_ERROR, MIRAGE_ERROR_TRACK_ERROR, MIRAGE_ERROR_STREAM_ERROR, MIRAGE_ERROR_IMAGE_FILE_ERROR, MIRAGE_ERROR_DATA_FILE_ERROR, MIRAGE_ERROR_CANNOT_HANDLE, MIRAGE_ERROR_ENCRYPTED_IMAGE, MIRAGE_ERROR_WRITER_ERROR, } MirageErrorCode;
Error codes for libMirage library.
error in core libMirage code | |
error in parser code | |
error in fragment code | |
error in disc code | |
error in language/CD-TEXT code | |
error in sector code | |
error in session code | |
error in track code | |
error in stream code | |
error related to image file | |
error related to data file | |
parser/writer/filter stream cannot handle given file | |
image is encrypted and password needs to be provided | |
error in image writer code |