Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::config::Error Struct Reference

Displays the different errors when parsing user config. More...

#include <Error.hpp>

Public Member Functions

 Error (std::string err)
 Constructs an Error with a custom error message.
 
 Error (std::string_view key, std::string_view err)
 Constructs an Error with a custom error message.
 

Public Attributes

std::string error
 

Detailed Description

Displays the different errors when parsing user config.

Constructor & Destructor Documentation

◆ Error() [1/2]

util::config::Error::Error ( std::string err)
inline

Constructs an Error with a custom error message.

Parameters
errthe error message to display to users.

◆ Error() [2/2]

util::config::Error::Error ( std::string_view key,
std::string_view err )
inline

Constructs an Error with a custom error message.

Parameters
keythe key associated with the error.
errthe error message to display to users.

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