19 #ifndef MIR_GRAPHICS_EGL_ERROR_H_
20 #define MIR_GRAPHICS_EGL_ERROR_H_
22 #include <system_error>
34 return std::system_error{eglGetError(),
egl_category(), msg};
All things Mir.
Definition: atomic_callback.h:25
auto egl_error(std::string const &msg) -> std::system_error
Definition: egl_error.h:32
std::error_category const & egl_category()
Definition: egl_error.cpp:67