MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
polyglot_error.cc File Reference
#include "utils/polyglot_error.h"
#include <limits>
#include <numeric>
#include <optional>
#include <regex>
#include <sstream>
#include <vector>
#include "utils/polyglot_api_clean.h"
#include "native_wrappers/polyglot_collectable.h"
#include "native_wrappers/polyglot_map_wrapper.h"
#include "utils/utils_string.h"

Namespaces

namespace  shcore
 
namespace  shcore::polyglot
 
namespace  shcore::polyglot::anonymous_namespace{polyglot_error.cc}
 

Functions

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: More...
 
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)
 
std::vector< std::string > shcore::polyglot::anonymous_namespace{polyglot_error.cc}::get_exception_stack_trace (poly_thread thread, poly_exception exc)
 

Variables

const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_type {"type"}
 
const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_backtrace {"backtrace"}
 
const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_source {"source"}
 
const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_line {"line"}
 
const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_column {"column"}
 
const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_source_line {"source_line"}
 
const char * shcore::polyglot::anonymous_namespace{polyglot_error.cc}::k_key_code {"code"}