| 
    rippled
    
   | 
 
Set the expected result code for a JTx The test will fail if the code doesn't match. More...
#include <rpc.h>

Public Member Functions | |
| rpc (error_code_i code, std::optional< std::string > m={}) | |
| If there's an error code, we expect an error message.   | |
| rpc (std::string error, std::optional< std::string > exceptionMessage={}) | |
| If there is not a code, we expect an exception message.   | |
| void | operator() (Env &, JTx &jt) const | 
Private Attributes | |
| std::optional< error_code_i > | code_ | 
| std::optional< std::string > | errorMessage_ | 
| std::optional< std::string > | error_ | 
| std::optional< std::string > | errorException_ | 
Set the expected result code for a JTx The test will fail if the code doesn't match.
      
  | 
  explicit | 
      
  | 
  explicit | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |