ChaiScript
|
Error thrown when there's a problem with type conversion. More...
#include <type_conversions.hpp>
Public Member Functions | |
conversion_error (const Type_Info t_to, const Type_Info t_from, const utility::Static_String what) noexcept | |
Public Member Functions inherited from chaiscript::exception::bad_boxed_cast | |
bad_boxed_cast (Type_Info t_from, const std::type_info &t_to, utility::Static_String t_what) noexcept | |
bad_boxed_cast (Type_Info t_from, const std::type_info &t_to) noexcept | |
bad_boxed_cast (utility::Static_String t_what) noexcept | |
bad_boxed_cast (const bad_boxed_cast &) noexcept=default | |
const char * | what () const noexcept override |
Description of what error occurred. | |
Public Attributes | |
Type_Info | type_to |
Public Attributes inherited from chaiscript::exception::bad_boxed_cast | |
Type_Info | from |
Type_Info contained in the Boxed_Value. | |
const std::type_info * | to = nullptr |
std::type_info of the desired (but failed) result type | |
Error thrown when there's a problem with type conversion.