CONZEPT 16 C++ API
C16::Database::Connection::Exception Class Reference

Exception of a connection to a database. More...

#include "C16/Database.hpp"

Inheritance diagram for C16::Database::Connection::Exception:
C16::Exception::Generic

Detailed Description

Exception of a connection to a database.

Public Member Functions

 Exception (Error error)
 Constructs an exception of the connection to a database. More...
 
Error error () const
 Gets the error of the connection to a database. More...
 

Constructor & Destructor Documentation

◆ Exception()

C16::Database::Connection::Exception::Exception ( Error  error)
explicit

Constructs an exception of the connection to a database.

Parameters
errorError of the exception

Member Function Documentation

◆ error()

Error C16::Database::Connection::Exception::error ( ) const

Gets the error of the connection to a database.