1 #ifndef ENGINEEXCEPTION_H_ 2 #define ENGINEEXCEPTION_H_ 65 ret =
"EngineException. Called by: " + this->
where +
".";
73 ret +=
" More details:\n" + this->
details +
".";
87 ret =
"Unknown error";
90 ret =
"Engine initialization failed";
93 ret =
"Key id not found";
96 ret =
"Adding engine to engines list";
99 ret =
"Removing engine from engines list";
102 ret =
"Dynamic engine is not available";
105 ret =
"Internal error";
108 ret =
"Engine not found";
111 ret =
"Setting command";
114 ret =
"Invalid engine";
117 ret =
"Load engine failed";
Definition: EngineException.h:19
Definition: EngineException.h:15
virtual EngineException::ErrorCode getErrorCode()
Definition: EngineException.h:77
virtual std::string toString() const
Definition: EngineException.h:60
Definition: EngineException.h:13
EngineException::ErrorCode errorCode
Definition: EngineException.h:129
EngineException(EngineException::ErrorCode errorCode, std::string where, bool opensslDetails)
Definition: EngineException.h:41
Definition: EngineException.h:16
Definition: EngineException.h:21
Definition: EngineException.h:12
Definition: EngineException.h:14
EngineException(EngineException::ErrorCode errorCode, std::string where)
Definition: EngineException.h:29
Definition: EngineException.h:6
virtual ~EngineException()
Definition: EngineException.h:54
virtual std::string getMessage() const
Definition: EngineException.h:55
ErrorCode
Definition: EngineException.h:9
EngineException(std::string where)
Definition: EngineException.h:23
Definition: LibCryptoSecException.h:8
std::string where
Definition: LibCryptoSecException.h:23
Definition: EngineException.h:11
std::string details
Definition: LibCryptoSecException.h:24
Definition: EngineException.h:17
Definition: EngineException.h:18
Definition: EngineException.h:20
EngineException(EngineException::ErrorCode errorCode, std::string where, std::string details)
Definition: EngineException.h:35
static std::string getErrors()
Definition: OpenSSLErrorHandler.cpp:56
static std::string errorCode2Message(EngineException::ErrorCode errorCode)
Definition: EngineException.h:81