From 5653d88cfd94afe4c9f36d5ec1a0eabc892ec10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 22 Nov 2016 14:36:25 -0800 Subject: [PATCH] Cleanup. --- include/bx/error.h | 5 +++++ 1 file changed, 5 insertions(+) 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;