Handeling of OpenVSP ErrorObj information is accomplished through this group of API functions.
Click here to return to the main page.
More...
Functions | |
bool | GetErrorLastCallFlag () |
int | GetNumTotalErrors () |
ErrorObj | PopLastError () |
ErrorObj | GetLastError () |
void | SilenceErrors () |
void | PrintOnErrors () |
bool GetErrorLastCallFlag | ( | ) |
Check if there was an error on the last call to the API
ErrorObj GetLastError | ( | ) |
Return the most recent error from the stack (does NOT pop error off the stack)
int GetNumTotalErrors | ( | ) |
Count the total number of errors on the stack
ErrorObj PopLastError | ( | ) |
Pop (remove) and return the most recent error from the stack. Note, errors are printed on occurance by default.
void PrintOnErrors | ( | ) |
Cuase errors to be printed to stdout as they occur.
void SilenceErrors | ( | ) |
Prevent errors from printing to stdout as they occur.