summaryrefslogtreecommitdiff
path: root/libdbpp/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdbpp/error.h')
-rw-r--r--libdbpp/error.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/libdbpp/error.h b/libdbpp/error.h
index 8245ea9..329e8f4 100644
--- a/libdbpp/error.h
+++ b/libdbpp/error.h
@@ -7,16 +7,13 @@
namespace DB {
/// Base class for database errors.
- class DLL_PUBLIC Error : public virtual std::exception {
- };
+ class DLL_PUBLIC Error : public virtual std::exception { };
/// Exception thrown when attempting to bulk upload with a connector that doesn't support it.
- class DLL_PUBLIC BulkUploadNotSupported : public Error {
- };
+ class DLL_PUBLIC BulkUploadNotSupported : public Error { };
/// Exception thrown when a query returns an unsupported column type.
- class DLL_PUBLIC ColumnTypeNotSupported : public Error {
- };
+ class DLL_PUBLIC ColumnTypeNotSupported : public Error { };
/// Exception thrown on an attempt to convert betweem incompatible types.
class DLL_PUBLIC InvalidConversion : public AdHoc::Exception<Error> {