Ruminate
Type introspection for C
 All Classes Files Functions Enumerations Enumerator Macros Pages
errors.h File Reference

Error handling facilities. More...

Macros

#define RUMINATE_ERROR
 The error quark representing errors produced by this library. More...
 
#define RUMINATE_ERRNO_ERROR
 The error quark representing errors produced by the standard C library. More...
 

Enumerations

enum  RuminateError {
  RUMINATE_ERROR_SB_INVALID,
  RUMINATE_ERROR_LLDB_ERROR,
  RUMINATE_ERROR_RANGE,
  RUMINATE_ERROR_NO_PRIMITIVE_TYPE,
  RUMINATE_ERROR_INVALID_TYPE,
  RUMINATE_ERROR_INCOMPLETE_TYPE,
  RUMINATE_ERROR_ICE,
  RUMINATE_ERROR_STDLIB,
  RUMINATE_ERROR_SHORT_READ,
  RUMINATE_ERROR_NO_PRGNAME,
  RUMINATE_ERROR_UNIMPLEMENTED,
  RUMINATE_ERROR_UNSPEC
}
 The various errors produced by ruminate. More...
 

Detailed Description

Error handling facilities.

Every function which takes as an argument a GError ** reports errors through this pointer.

In brief, pass NULL as the GError ** argument to functions or pass a pointer to a NULL GError * to recieve a GError when an error occurs.

See Also
GError

Macro Definition Documentation

#define RUMINATE_ERRNO_ERROR

The error quark representing errors produced by the standard C library.

This quark will be placed in the domain field of a GError produced when an error occurrs.

See Also
GQuark
#define RUMINATE_ERROR

The error quark representing errors produced by this library.

This quark will be placed in the domain field of a GError produced when an error occurrs.

See Also
GQuark

Enumeration Type Documentation

The various errors produced by ruminate.

These will be placed in the code field of a GError produced when an error occurrs.