Exception class for SQL related errors.
Thrown for SQL errors. Inherits from std::runtime_error.
Example:
Exception class for SQL related errors. More...
Public Member Functions | |
| sql_exception (const char *msg="SQLException") | |
| Constructs a new sql_exception with an optional error message. | |
|
explicit |
Constructs a new sql_exception with an optional error message.
| msg | A C-string representing the error message. Defaults to "SQLException". |
Copyright © Tildeslash Ltd. All rights reserved.