Database System 0.1.0
Advanced C++20 Database System with Multi-Backend Support
Loading...
Searching...
No Matches
database::concepts::ErrorHandler Concept Reference

A callable that handles database errors. More...

#include <concepts.h>

Concept definition

template<typename F>
A callable that handles database errors.
Definition concepts.h:162
A callable type that can be invoked with given arguments.
Definition concepts.h:77

Detailed Description

A callable that handles database errors.

Example usage:

template<ErrorHandler F>
void set_error_handler(F&& handler) {
error_handler_ = std::forward<F>(handler);
}

Definition at line 162 of file concepts.h.