XRTraits C++ OpenXR Utilities
|
#include <TypeError.h>
Public Member Functions | |
get_from_chain_error (std::string &&msg, XrResult result) | |
get_from_chain_error (const char *paramName, std::nullptr_t, XrStructureType expectedType, XrResult result) | |
get_from_chain_error (const char *paramName, XrStructureType headType, XrStructureType expectedType, XrResult result) | |
Public Member Functions inherited from xrtraits::exceptions::type_error | |
type_error (std::string &&msg, XrResult result) | |
type_error (const char *paramName, std::nullptr_t, XrStructureType expectedType, XrResult result) | |
type_error (const char *paramName, XrStructureType actualType, XrStructureType expectedType, XrResult result) | |
type_error (const char *paramName, XrStructureType actualType, XrStructureType expectedType, std::ptrdiff_t index, XrResult result) | |
type_error (const char *paramName, std::nullptr_t, XrStructureType expectedType, std::ptrdiff_t size, XrResult result) | |
Public Member Functions inherited from xrtraits::exceptions::xr_logic_error | |
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) | |
Related Functions inherited from xrtraits::exceptions::type_error | |
static constexpr XrResult | DEFAULT_TYPE_ERROR_CODE |
Exception thrown by xrtraits::getFromChain() and friends when input doesn't include the type required.
xrtraits::exceptions::get_from_chain_error::get_from_chain_error | ( | std::string && | msg, |
XrResult | result | ||
) |
Constructor taking a message.
xrtraits::exceptions::get_from_chain_error::get_from_chain_error | ( | const char * | paramName, |
std::nullptr_t | , | ||
XrStructureType | expectedType, | ||
XrResult | result | ||
) |
Constructor for getting nullptr instead of a chain containing a desired type.
xrtraits::exceptions::get_from_chain_error::get_from_chain_error | ( | const char * | paramName, |
XrStructureType | headType, | ||
XrStructureType | expectedType, | ||
XrResult | result | ||
) |
Constructor for not finding the desired type in a struct chain.