#include <ShapeUpAPI.h>
Public Member Functions | |
SUException (SURESULT res) | |
SURESULT | GetErrorCode () const |
std::string | GetErrorDesc () const |
Protected Attributes | |
SURESULT | _res |
SUException::SUException | ( | SURESULT | res | ) | [inline] |
Constructor.
res | is a SURESULT value from a ShapeUp call. |
SURESULT SUException::GetErrorCode | ( | ) | const [inline] |
Getter for the error code.
std::string SUException::GetErrorDesc | ( | ) | const [inline] |
Translates the underlying SURESULT into a human readable string.
SURESULT SUException::_res [protected] |