aboutsummaryrefslogtreecommitdiff
path: root/tests/framework/Exceptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/framework/Exceptions.h')
-rw-r--r--tests/framework/Exceptions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/framework/Exceptions.h b/tests/framework/Exceptions.h
index f35c35020c..687305b452 100644
--- a/tests/framework/Exceptions.h
+++ b/tests/framework/Exceptions.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -94,6 +94,10 @@ public:
*/
LogLevel level() const;
+ /** Get the error message.
+ *
+ * @return error message.
+ */
const char *what() const noexcept override;
private: