XRTraits C++ OpenXR Utilities
|
#include <BaseExceptions.h>
Public Member Functions | |
xr_logic_error (std::string &&what, XrResult err) | |
xr_logic_error (std::string const &what, XrResult err) | |
xr_logic_error (std::string &&what) | |
Public Member Functions inherited from xrtraits::exceptions::xr_exception | |
const char * | what () const noexcept override |
bool | hasResult () const noexcept |
XrResult | result () const noexcept |
Additional Inherited Members | |
Protected Member Functions inherited from xrtraits::exceptions::xr_exception | |
xr_exception (std::string &&what) | |
xr_exception (std::string const &what, XrResult err) | |
xr_exception (std::string &&what, XrResult err) | |
Base class for "logic" exceptions explicitly thrown by this library's code.
Conceptually related to std::logic_error, though not deriving from it. May specify an associated/recommended XrResult code.
xrtraits::exceptions::xr_logic_error::xr_logic_error | ( | std::string && | what, |
XrResult | err | ||
) |
Constructor taking a "what" string as well as an XrResult.
xrtraits::exceptions::xr_logic_error::xr_logic_error | ( | std::string const & | what, |
XrResult | err | ||
) |
Constructor taking a "what" string as well as an XrResult.
xrtraits::exceptions::xr_logic_error::xr_logic_error | ( | std::string && | what | ) |
Constructor taking a "what" string.