19 #ifndef MIR_COMMON_CLIENT_VISIBLE_ERROR_H_ 20 #define MIR_COMMON_CLIENT_VISIBLE_ERROR_H_ 40 :
std::runtime_error(description)
51 virtual uint32_t
code()
const noexcept = 0;
55 #endif //MIR_COMMON_CLIENT_VISIBLE_ERROR_H_ All things Mir.
Definition: atomic_callback.h:25
Base class for exceptions which might be visible to clients.
Definition: client_visible_error.h:36
ClientVisibleError(std::string const &description)
Definition: client_visible_error.h:39
virtual uint32_t code() const noexcept=0
Error code within the domain().
virtual MirErrorDomain domain() const noexcept=0
Client-visible error domain.