3#include "TranscribableException.h"
4#ifdef STARFLEETTOOLBOX_EXPORTS
5#define SENSORERROREXCPT __declspec(dllexport)
7#define SENSORERROREXCPT __declspec(dllimport)
22 SetTranslateCode(
string(translateCode));
37 SetTranslateCode(translateCode);
50 virtual const char*
what() const noexcept {
54 string GetErrorCode();
An exception used when the sensor returns an error related to a command excecution.
Definition SensorErrorException.h:14
virtual const char * what() const noexcept
Overload of message retrie.
Definition SensorErrorException.h:50
SensorErrorException(const char *message, const char *translateCode)
Copy constructor.
Definition SensorErrorException.h:20
SensorErrorException(const string &message, string translateCode)
Copy constructor.
Definition SensorErrorException.h:35
string _msg
Definition SensorErrorException.h:56
virtual ~SensorErrorException() noexcept
Destructor.
Definition SensorErrorException.h:44