OpenVSPAPI  3.19.0
Functions
API Error Functions

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 ()
 

Detailed Description

Function Documentation

◆ GetErrorLastCallFlag()

bool GetErrorLastCallFlag ( )

Check if there was an error on the last call to the API

Returns
False if no error, true otherwise

◆ GetLastError()

ErrorObj GetLastError ( )

Return the most recent error from the stack (does NOT pop error off the stack)

Returns
Error object

◆ GetNumTotalErrors()

int GetNumTotalErrors ( )

Count the total number of errors on the stack

Returns
Number of errors

◆ PopLastError()

ErrorObj PopLastError ( )

Pop (remove) and return the most recent error from the stack

Returns
Error object