24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_TEST_EXCEPTIONS
25 #define ARM_COMPUTE_TEST_EXCEPTIONS
81 using std::runtime_error::runtime_error;
101 const char *
what()
const noexcept
override;
106 std::string _context{};
107 std::string _combined{};
Error class for when some external assets are missing.
TestError(const std::string &msg, LogLevel level, std::string context="")
Construct error with severity.
std::string to_string(DatasetMode mode)
Error class for failures during test execution.
inline ::std::istream & operator>>(::std::istream &stream, DatasetMode &mode)
FileNotFound(const std::string &msg)
Construct error with message.
LogLevel log_level_from_name(const std::string &name)
LogLevel level() const
Severity of the error.
const char * what() const noexcept override
Get the error message.
Copyright (c) 2017-2024 Arm Limited.
inline ::std::ostream & operator<<(::std::ostream &stream, DatasetMode mode)
LogLevel
Severity of the information.