|
ORM C++
|
A backend-neutral database runtime error. More...


Public Member Functions | |
| DatabaseError (DatabaseErrorCode codeInit, db::BackendType backendTypeInit, std::string operationInit, std::string message, std::optional< std::string > nativeCodeInit=std::nullopt) | |
| auto | getCode () const noexcept -> DatabaseErrorCode |
| auto | getBackendType () const noexcept -> db::BackendType |
| auto | getOperation () const noexcept -> const std::string & |
| auto | getNativeCode () const noexcept -> const std::optional< std::string > & |
A backend-neutral database runtime error.
The structured context intentionally excludes connection strings and bound parameter values. Backend adapters are responsible for passing a sanitized message to the constructor.
Definition at line 120 of file types.cppm.
|
inline |
Definition at line 123 of file types.cppm.
|
inlinenodiscardnoexcept |
Definition at line 138 of file types.cppm.
|
inlinenodiscardnoexcept |
Definition at line 133 of file types.cppm.
|
inlinenodiscardnoexcept |
Definition at line 148 of file types.cppm.
|
inlinenodiscardnoexcept |
Definition at line 143 of file types.cppm.