![]() |
Shamrock 2025.10.0
Astrophysical Code
|
#include "shambase/SourceLocation.hpp"#include "shambase/exception.hpp"#include "shambase/stacktrace.hpp"#include <string>
Include dependency graph for exception.cpp:Go to the source code of this file.
Namespaces | |
| namespace | shambase |
| namespace for basic c++ utilities | |
Functions | |
| std::string | shambase::exception_format (SourceLocation loc) |
| Format the exception message with the source location information. | |
| void | shambase::exception_gen_callback (std::string msg) |
| The callback called when an exception is thrown. | |
| void | shambase::set_exception_gen_callback (exception_gen_callback_t callback) |
| Set the exception generator callback. | |
| exception_gen_callback_t | shambase::get_exception_gen_callback () |
| Get the current exception generator callback. | |
Variables | |
| void(* | shambase::exception_print_callback )(std::string msg) = nullptr |
| exception print callback func ptr | |
Definition in file exception.cpp.