20#ifndef RIPPLE_BASICS_CONTRACT_H_INCLUDED 
   21#define RIPPLE_BASICS_CONTRACT_H_INCLUDED 
   23#include <xrpl/beast/type_name.h> 
   47[[noreturn]] 
inline void 
   54template <
class E, 
class... Args>
 
   55[[noreturn]] 
inline void 
   60        "Exception must derive from std::exception.");
 
   65            "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.