diff --git a/include/bx/error.h b/include/bx/error.h index 66132a9..ee2960b 100644 --- a/include/bx/error.h +++ b/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;