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

Error handlining 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 handlining routines.

Function Documentation

char* getLastError ( void  )

Retrieve the current error string.

Example:

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