Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
rpc::WarningInfo Struct Reference

Holds information about a clio warning. More...

#include <Errors.hpp>

Public Member Functions

constexpr WarningInfo (WarningCode code, char const *message)
 Construct a new Warning Info object.
 

Public Attributes

WarningCode code = WarnUnknown
 
std::string_view const message = "unknown warning"
 

Detailed Description

Holds information about a clio warning.

Constructor & Destructor Documentation

◆ WarningInfo()

rpc::WarningInfo::WarningInfo ( WarningCode code,
char const * message )
inlineconstexpr

Construct a new Warning Info object.

Parameters
codeThe warning code
messageThe warning message

The documentation for this struct was generated from the following file: