Class ClientVisibleError

Inheritance Relationships

Base Type

  • public std::runtime_error

Class Documentation

class ClientVisibleError : public std::runtime_error

Base class for exceptions which might be visible to clients.

When a mir::ClientVisibleError exception is propagated to the server IPC boundary it is translated into a client-side MirError and sent to the callback registered with mir_connection_set_error_callback().

Public Functions

inline ClientVisibleError(std::string const &description)
virtual MirErrorDomain domain() const noexcept = 0

Client-visible error domain.

virtual uint32_t code() const noexcept = 0

Error code within the domain().