![]() |
MySQL 26.7.0
Source Code Documentation
|
Functions | |
| std::vector< std::string > | filter_backtrace (const std::string &backtrace, std::string *header=nullptr, int *column=nullptr, std::string *src_line=nullptr) |
| The backtrace may come from different sources: More... | |
| std::string | get_poly_exception_message (poly_thread thread, poly_exception exc, int *column=nullptr, std::string *src_line=nullptr, std::vector< std::string > *backtrace=nullptr) |
| std::vector< std::string > | get_exception_stack_trace (poly_thread thread, poly_exception exc) |
Variables | |
| const char * | k_key_type {"type"} |
| const char * | k_key_backtrace {"backtrace"} |
| const char * | k_key_source {"source"} |
| const char * | k_key_line {"line"} |
| const char * | k_key_column {"column"} |
| const char * | k_key_source_line {"source_line"} |
| const char * | k_key_code {"code"} |
| std::vector< std::string > shcore::polyglot::anonymous_namespace{polyglot_error.cc}::filter_backtrace | ( | const std::string & | backtrace, |
| std::string * | header = nullptr, |
||
| int * | column = nullptr, |
||
| std::string * | src_line = nullptr |
||
| ) |
The backtrace may come from different sources:
This function will filter out the backtrace to only display the relevant elements to the user:
| std::vector< std::string > shcore::polyglot::anonymous_namespace{polyglot_error.cc}::get_exception_stack_trace | ( | poly_thread | thread, |
| poly_exception | exc | ||
| ) |
| std::string shcore::polyglot::anonymous_namespace{polyglot_error.cc}::get_poly_exception_message | ( | poly_thread | thread, |
| poly_exception | exc, | ||
| int * | column = nullptr, |
||
| std::string * | src_line = nullptr, |
||
| std::vector< std::string > * | backtrace = nullptr |
||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |