#include <stdexcept>
#include <string>
-#include <ocstack.h>
+#include <octypes.h>
namespace OC {
return reason(m_reason);
}
- std::string reason(const OC::OCException& e) const
+ OCStackResult code() const
{
- return e.reason();
+ return m_reason;
}
private: