Hermes SDK Documentation
Public Member Functions | Public Attributes | List of all members
HermesSDK::ErrorMessage Struct Reference

#include <HermesCallbackTypes.hpp>

Public Member Functions

 ErrorMessage (ErrorCodes code, std::string message)
 
 ErrorMessage (ErrorCodes code)
 No string passed.
 

Public Attributes

ErrorCodes errorCode
 
std::string errorMessage
 Optional message. Not always filled in.
 

Detailed Description

Instead of just a string, we prefer to send an error code with an optional string. This makes it much easier to parse based on the code instead of deciphering the string.


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