minor
disambiguate error messages
This commit is contained in:
@@ -3999,7 +3999,7 @@ public:
|
|||||||
Lock lock(m_contextMutex);
|
Lock lock(m_contextMutex);
|
||||||
|
|
||||||
if (m_contextState == CONTEXT_DESTROYED)
|
if (m_contextState == CONTEXT_DESTROYED)
|
||||||
throw std::runtime_error("Context destroyed.");
|
throw std::runtime_error("Context destroyed!");
|
||||||
else if (m_contextState == CONTEXT_INITIALIZED)
|
else if (m_contextState == CONTEXT_INITIALIZED)
|
||||||
throw std::runtime_error("Context already initialized.");
|
throw std::runtime_error("Context already initialized.");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user