StormByte-Database 2.0.0
C++26 database module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Database::TransactionError Class Referencefinal

Beginning a database transaction failed. More...

#include <StormByte/database/exception.hxx>

Inheritance diagram for StormByte::Database::TransactionError:
Collaboration diagram for StormByte::Database::TransactionError:

Public Member Functions

 TransactionError (std::string_view error)
 Construct from the failure reason.
 
 ~TransactionError () noexcept override
 Destructor.
 
- Public Member Functions inherited from StormByte::Database::Exception
 Exception (std::string_view message)
 Construct with an unformatted message.
 
template<typename... Args>
 Exception (std::format_string< Args... > fmt, Args &&...args)
 Construct with a formatted message.
 
virtual ~Exception () noexcept override
 Destructor.
 
- Public Member Functions inherited from StormByte::Exception
 Exception (const std::string &message)
 
 Exception (std::string &&message)
 
 Exception (std::format_string< Args... > fmt, Args &&... args)
 
 Exception (const Exception &e)=default
 
 Exception (Exception &&e) noexcept=default
 
Exception & operator= (const Exception &e)=default
 
Exception & operator= (Exception &&e) noexcept=default
 
virtual const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from StormByte::Database::Exception
template<typename... Args>
 Exception (StormByte::Exception::Path path, std::format_string< Args... > fmt, Args &&...args)
 Construct with a qualified database path and formatted message.
 
- Protected Member Functions inherited from StormByte::Exception
 Exception (Path path, std::format_string< Args... > fmt, Args &&... args)
 

Detailed Description

Beginning a database transaction failed.

Constructor & Destructor Documentation

◆ TransactionError()

StormByte::Database::TransactionError::TransactionError ( std::string_view  error)

Construct from the failure reason.

Parameters
errorError text.

◆ ~TransactionError()

StormByte::Database::TransactionError::~TransactionError ( )
overridenoexcept

Destructor.


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