Move Exception closer to EsqueletoError

This commit is contained in:
Chris Allen 2017-07-30 11:10:38 -05:00
parent b7df667d3e
commit 36acb1e1c2

View File

@ -83,6 +83,8 @@ data EsqueletoError =
| SqlBinOpCompositeErr SqlBinOpCompositeError
deriving (Show)
instance Exception EsqueletoError
data CompositeKeyError =
NotError
| ToInsertionError
@ -112,8 +114,6 @@ data SqlBinOpCompositeError =
| DeconstructionError
deriving (Show)
instance Exception EsqueletoError
----------------------------------------------------------------------