3#include <xrpl/basics/sanitizers.h>
4#include <xrpl/beast/type_name.h>
32[[noreturn]] XRPL_NO_SANITIZE_ADDRESS
inline void
47template <
class E,
class... Args>
48[[noreturn]] XRPL_NO_SANITIZE_ADDRESS
inline void
53 "Exception must derive from std::exception.");
56 LogThrow(
std::string(
"Throwing exception of type " + beast::type_name<E>() +
": ") + e.what());
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void LogicError(std::string const &how) noexcept
Called when faulty logic causes a broken invariant.
XRPL_NO_SANITIZE_ADDRESS void Rethrow()
Rethrow the exception currently being handled.
void LogThrow(std::string const &title)
Generates and logs a call stack.
XRPL_NO_SANITIZE_ADDRESS void Throw(Args &&... args)