36 #ifndef ARM_OCSD_ERROR_H_INCLUDED 37 #define ARM_OCSD_ERROR_H_INCLUDED 74 void setMessage(
const std::string &msg) { m_err_message = msg; };
75 const std::string &
getMessage()
const {
return m_err_message; };
85 static void appendErrorDetails(std::string &errStr,
const ocsdError &error);
93 std::string m_err_message;
108 return (*
this = &err);
118 const char* getStr();
125 #endif // ARM_OCSD_ERROR_H_INCLUDED
const ocsd_err_t getErrorCode() const
const uint8_t getErrorChanID() const
enum _ocsd_datapath_resp_t ocsd_datapath_resp_t
const ocsd_err_severity_t getErrorSeverity() const
const std::string & getMessage() const
const ocsd_trc_index_t getErrorIndex() const
static const std::string getErrorString(const ocsdError &error)
ocsdDataRespStr(ocsd_datapath_resp_t type)
enum _ocsd_err_t ocsd_err_t
ocsdError & operator=(const ocsdError *p_err)
uint32_t ocsd_trc_index_t
OpenCSD : Standard Types used in the library interfaces.
enum _ocsd_err_severity_t ocsd_err_severity_t
void setMessage(const std::string &msg)