libRoadRunner C API  1.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions
Error handling functions

Error handling routines. More...

Functions

bool hasError (void)
 Check if there is an error string to retrieve. More...
 
char * getLastError (void)
 Retrieve the current error string. More...
 

Detailed Description

Error handling routines.

Function Documentation

char * getLastError ( void  )

Retrieve the current error string.

Example:

1 str = getLastError (void);
Returns
Return null if fails, otherwise returns a pointer to the error string
bool hasError ( void  )

Check if there is an error string to retrieve.

Example: status = hasError (void)

Returns
Returns true if there is an error waiting to be retrieved