Branimir Karadžić 9 years ago
parent
commit
5653d88cfd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      include/bx/error.h

+ 5 - 0
include/bx/error.h

@@ -79,6 +79,11 @@ namespace bx
 			return result;
 		}
 
+		const StringView& getMessage() const
+		{
+			return m_msg;
+		}
+
 		bool operator==(const ErrorResult& _rhs) const
 		{
 			return _rhs.code == m_code;