1#ifndef XRPL_TEST_JTX_RPC_H_INCLUDED 
    2#define XRPL_TEST_JTX_RPC_H_INCLUDED 
    4#include <test/jtx/Env.h> 
A transaction testing environment.
 
Set the expected result code for a JTx The test will fail if the code doesn't match.
 
void operator()(Env &, JTx &jt) const
 
std::optional< std::string > error_
 
std::optional< std::string > errorException_
 
rpc(error_code_i code, std::optional< std::string > m={})
If there's an error code, we expect an error message.
 
std::optional< std::string > errorMessage_
 
std::optional< error_code_i > code_
 
rpc(std::string error, std::optional< std::string > exceptionMessage={})
If there is not a code, we expect an exception message.
 
ErrorInfo const & get_error_info(error_code_i code)
Returns an ErrorInfo that reflects the error code.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
Execution context for applying a JSON transaction.
 
std::optional< std::pair< error_code_i, std::string > > rpcCode
 
std::optional< std::pair< std::string, std::optional< std::string > > > rpcException