ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
db_connection_exception Class Reference

Thrown when a database connection cannot be established. More...

#include <exceptions.hpp>

Inherits runtime_error.

Collaboration diagram for db_connection_exception:
Collaboration graph

Public Member Functions

 db_connection_exception (const std::string &msg)
 

Detailed Description

Thrown when a database connection cannot be established.

Distinct from std::runtime_error so callers (service main functions) can catch it specifically and return exit_code::db_connection_failed rather than the generic exit_code::general_error.