aboutsummaryrefslogtreecommitdiff
path: root/framework/printers/Printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/printers/Printer.h')
-rw-r--r--framework/printers/Printer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/framework/printers/Printer.h b/framework/printers/Printer.h
index 7d8af12416..85b7a570c8 100644
--- a/framework/printers/Printer.h
+++ b/framework/printers/Printer.h
@@ -29,6 +29,7 @@
#include <fstream>
#include <iostream>
#include <ostream>
+#include <stdexcept>
namespace arm_compute
{
@@ -95,6 +96,18 @@ public:
/** Print footer after a test. */
virtual void print_test_footer() = 0;
+ /** Print header before errors. */
+ virtual void print_errors_header() = 0;
+
+ /** Print footer after errors. */
+ virtual void print_errors_footer() = 0;
+
+ /** Print test error.
+ *
+ * @param[in] error Description of the error.
+ */
+ virtual void print_error(const std::exception &error) = 0;
+
/** Print measurements for a test.
*
* @param[in] measurements Measurements as collected by a @ref Profiler.