X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base%2Fconditions.lisp;h=81a1226bfe48b02a2fbf1456f4bf3ed210303726;hb=29c15e4e9cf9cbb5ccfe33c0af59a24d0614bef9;hp=a84f6546d0c95c2f815f0917154d5e2ddb889631;hpb=2238e503214385f09a25a1879665ca14b782cdfa;p=clsql.git diff --git a/base/conditions.lisp b/base/conditions.lisp index a84f654..81a1226 100644 --- a/base/conditions.lisp +++ b/base/conditions.lisp @@ -36,6 +36,12 @@ (define-condition clsql-simple-warning (simple-condition clsql-warning) ()) +(define-condition clsql-generic-error (clsql-error) + ((message :initarg :message + :reader clsql-generic-error-message)) + (:report (lambda (c stream) + (format stream (clsql-generic-error-message c))))) + (define-condition clsql-invalid-spec-error (clsql-error) ((connection-spec :initarg :connection-spec :reader clsql-invalid-spec-error-connection-spec)