1#ifndef XRPL_BASICS_CONTRACT_H_INCLUDED
2#define XRPL_BASICS_CONTRACT_H_INCLUDED
4#include <xrpl/beast/type_name.h>
28[[noreturn]]
inline void
35template <
class E,
class... Args>
36[[noreturn]]
inline void
41 "Exception must derive from std::exception.");
46 "Throwing exception of type " + beast::type_name<E>() +
": ") +
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
void Throw(Args &&... args)
void LogThrow(std::string const &title)
Generates and logs a call stack.
void Rethrow()
Rethrow the exception currently being handled.
void LogicError(std::string const &how) noexcept
Called when faulty logic causes a broken invariant.