This class is used to represent errors occurred in the polyglot library while executing one of the functions in the API.
More...
#include <polyglot_error.h>
This class is used to represent errors occurred in the polyglot library while executing one of the functions in the API.
These errors don't have more details, in general can be caused for 2 reasons:
- The polyglot context got closed before executing the function.
- En error occurred on the guest language while executing the operation.
◆ Polyglot_generic_error() [1/2]
| shcore::polyglot::Polyglot_generic_error::Polyglot_generic_error |
( |
const std::string & |
msg | ) |
|
|
inlineexplicit |
◆ Polyglot_generic_error() [2/2]
| shcore::polyglot::Polyglot_generic_error::Polyglot_generic_error |
( |
| ) |
|
|
protecteddefault |
◆ message()
| const std::string & shcore::polyglot::Polyglot_generic_error::message |
( |
| ) |
const |
|
inline |
◆ set_message()
| virtual void shcore::polyglot::Polyglot_generic_error::set_message |
( |
const std::string & |
msg | ) |
|
|
inlineprotectedvirtual |
◆ what()
| const char * shcore::polyglot::Polyglot_generic_error::what |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ m_message
| std::string shcore::polyglot::Polyglot_generic_error::m_message |
|
private |
The documentation for this class was generated from the following file: