MySQL 9.0.0
Source Code Documentation
component_common.cc File Reference
#include <mysql/components/minimal_chassis.h>
#include <mysql/components/services/mysql_runtime_error_service.h>
#include <mysqld_error.h>
#include <new>
#include <stdexcept>

Functions

void mysql_components_handle_std_exception (const char *funcname)
 Checks if last thrown exception is any kind of standard exceptions, i.e. More...
 

Function Documentation

◆ mysql_components_handle_std_exception()

void mysql_components_handle_std_exception ( const char *  funcname)

Checks if last thrown exception is any kind of standard exceptions, i.e.

the exceptions inheriting from std::exception. If so, reports an error message that states exception type and message. On any other thrown value it just reports general error.

Parameters
funcnameName of the function where the error occurs.