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

#include <proxy_functions_detail.hpp>

Inheritance diagram for chaiscript::exception::arity_error:
Collaboration diagram for chaiscript::exception::arity_error:

Public Member Functions

 arity_error (int t_got, int t_expected)
 arity_error (const arity_error &)=default
 ~arity_error () noexcept override=default

Public Attributes

int got
int expected

Detailed Description

Exception thrown when there is a mismatch in number of parameters during Proxy_Function execution

Constructor & Destructor Documentation

◆ arity_error() [1/2]

chaiscript::exception::arity_error::arity_error ( int t_got,
int t_expected )
inline
Here is the caller graph for this function:

◆ arity_error() [2/2]

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

◆ ~arity_error()

chaiscript::exception::arity_error::~arity_error ( )
overridedefaultnoexcept

Member Data Documentation

◆ expected

int chaiscript::exception::arity_error::expected

◆ got

int chaiscript::exception::arity_error::got

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