OpenVSPAPI  3.19.0
Public Member Functions | List of all members
ErrorObj Class Reference

A class for representing API Errors. More...

#include <openvsp_as.h>

Public Member Functions

ERROR_CODE GetErrorCode ()
 
string GetErrorString ()
 

Detailed Description

ErrorObj is defined by an error code enum and associated error string.

Definition at line 633 of file openvsp_as.h.

Member Function Documentation

◆ GetErrorCode()

ERROR_CODE ErrorObj::GetErrorCode ( )

Get the ERROR_CODE enum of the last raised error

See also
ERROR_CODE
Returns
ERROR_CODE error code enum

◆ GetErrorString()

string ErrorObj::GetErrorString ( )

Get the error string of the last raised error

Returns
Error string

The documentation for this class was generated from the following file: