Recent attempt and data-object changes
This commit is contained in:
parent
d081f6f516
commit
8720fcd6ef
@ -134,6 +134,7 @@ instance Monad m => MonadRequestReader (HandlerT m) where
|
||||
|
||||
instance Monad m => MonadAttempt (HandlerT m) where
|
||||
failure = errorResult . InternalError . show
|
||||
wrapFailure _ = id -- We don't actually use exception types
|
||||
|
||||
------ Special handlers
|
||||
errorResult :: Monad m => ErrorResult -> HandlerT m a
|
||||
|
||||
@ -29,6 +29,7 @@ library
|
||||
bytestring-class,
|
||||
web-encodings >= 0.0.1,
|
||||
data-object >= 0.2.0,
|
||||
data-object-translate,
|
||||
yaml >= 0.2.0,
|
||||
test-framework,
|
||||
test-framework-quickcheck,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user