Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
format_exception.cpp File Reference
Include dependency graph for format_exception.cpp:

Go to the source code of this file.

Namespaces

namespace  sham
 namespace for backends this one is named only sham since shambackends is too long to write

Functions

sham::format_error sham::make_format_exception (std::string_view function_call, std::string_view what, const std::string &fmt_string, std::source_location loc=std::source_location::current())
 Create a format error exception.
void sham::set_format_exception_builder (format_except_builder_t callback)
 Install a custom builder for format exceptions.
format_except_builder_t sham::get_format_exception_builder () noexcept
 Get the current format exception builder.

Variables

format_except_builder_t sham::internal_func_ptr_make_format_exception = nullptr

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file format_exception.cpp.