GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
chaiscript::exception::dispatch_error Class Reference

Exception thrown in the case that a method dispatch fails because no matching function was found. More...

#include <proxy_functions.hpp>

Inheritance diagram for chaiscript::exception::dispatch_error:
Collaboration diagram for chaiscript::exception::dispatch_error:

Public Member Functions

 dispatch_error (std::vector< Boxed_Value > t_parameters, std::vector< Const_Proxy_Function > t_functions)
 dispatch_error (std::vector< Boxed_Value > t_parameters, std::vector< Const_Proxy_Function > t_functions, const std::string &t_desc)
 dispatch_error (const dispatch_error &)=default
 ~dispatch_error () noexcept override=default

Public Attributes

std::vector< Boxed_Value > parameters
std::vector< Const_Proxy_Function > functions

Detailed Description

Exception thrown in the case that a method dispatch fails because no matching function was found.

May be thrown due to an arity_error, a guard_error or a bad_boxed_cast exception

Constructor & Destructor Documentation

◆ dispatch_error() [1/3]

chaiscript::exception::dispatch_error::dispatch_error ( std::vector< Boxed_Value > t_parameters,
std::vector< Const_Proxy_Function > t_functions )
inline
Here is the caller graph for this function:

◆ dispatch_error() [2/3]

chaiscript::exception::dispatch_error::dispatch_error ( std::vector< Boxed_Value > t_parameters,
std::vector< Const_Proxy_Function > t_functions,
const std::string & t_desc )
inline

◆ dispatch_error() [3/3]

chaiscript::exception::dispatch_error::dispatch_error ( const dispatch_error & )
default

◆ ~dispatch_error()

chaiscript::exception::dispatch_error::~dispatch_error ( )
overridedefaultnoexcept

Member Data Documentation

◆ functions

std::vector<Const_Proxy_Function> chaiscript::exception::dispatch_error::functions

◆ parameters

std::vector<Boxed_Value> chaiscript::exception::dispatch_error::parameters

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