disambiguate error messages
This commit is contained in:
Michael Davidsaver
2019-07-08 10:56:43 -07:00
parent 1e9e4bd2a8
commit b06aa1831f

View File

@@ -3999,7 +3999,7 @@ public:
Lock lock(m_contextMutex);
if (m_contextState == CONTEXT_DESTROYED)
throw std::runtime_error("Context destroyed.");
throw std::runtime_error("Context destroyed!");
else if (m_contextState == CONTEXT_INITIALIZED)
throw std::runtime_error("Context already initialized.");