Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
data::DatabaseError Class Reference

Represents a transient database error that the caller should retry. More...

#include <BackendInterface.hpp>

Inheritance diagram for data::DatabaseError:
Collaboration diagram for data::DatabaseError:

Public Member Functions

 DatabaseError (std::string message)
 Construct with a description of the underlying failure.
char const * what () const noexcept override

Detailed Description

Represents a transient database error that the caller should retry.

Constructor & Destructor Documentation

◆ DatabaseError()

data::DatabaseError::DatabaseError ( std::string message)
inlineexplicit

Construct with a description of the underlying failure.

Parameters
messageWhat actually went wrong.

Member Function Documentation

◆ what()

char const * data::DatabaseError::what ( ) const
inlinenodiscardoverridenoexcept
Returns
The error message as a C string

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