mozaSdk
EffectException.h
1 
2 #pragma once
3 #include <exception>
4 #include <string>
5 namespace RS21::direct_input {
6 
7 class EffectException : public std::exception
8 {
9 public:
10  EffectException(const std::string& errorMessage);
11  EffectException(const char* errorMessage);
12  virtual const char* what() const override{return m_errorStr.c_str();}
13 private:
14  std::string m_errorStr;
15 };
16 
17 }//namespace
18 
virtual const char * what() const override
Definition: EffectException.h:12
Definition: DeviceException.h:7
EffectException(const std::string &errorMessage)
Definition: EffectException.h:7