Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

exports error conditions.

  • Loading branch information...
commit abc335d51566ab887a0b9c1e4703aed3e920c7ef 1 parent 6667fe4
@fukamachi authored
Showing with 15 additions and 2 deletions.
  1. +15 −2 src/dbi.lisp
View
17 src/dbi.lisp
@@ -5,7 +5,8 @@
(in-package :cl-user)
(defpackage dbi
- (:use :cl)
+ (:use :cl
+ :dbi.error)
(:nicknames :cl-dbi)
(:import-from :dbi.driver
:list-all-drivers
@@ -30,7 +31,19 @@
:do-sql
:begin-transaction
:commit
- :rollback))
+ :rollback
+
+ :<dbi-error>
+ :<dbi-warning>
+ :<dbi-interface-error>
+ :<dbi-unimplemented-error>
+ :<dbi-database-error>
+ :<dbi-data-error>
+ :<dbi-operational-error>
+ :<dbi-integrity-error>
+ :<dbi-internal-error>
+ :<dbi-programming-error>
+ :<dbi-notsupported-error>))
(in-package :dbi)
(cl-syntax:use-syntax :annot)
Please sign in to comment.
Something went wrong with that request. Please try again.