ChaiScript
Public Member Functions | Public Attributes | List of all members
chaiscript::exception::conversion_error Class Reference

Error thrown when there's a problem with type conversion. More...

#include <type_conversions.hpp>

Inheritance diagram for chaiscript::exception::conversion_error:
Inheritance graph
[legend]
Collaboration diagram for chaiscript::exception::conversion_error:
Collaboration graph
[legend]

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
 

Detailed Description

Error thrown when there's a problem with type conversion.


The documentation for this class was generated from the following file: