rest-types-1.10.2: Silk Rest Framework Types

Safe HaskellNone

Rest.Types.Error

Documentation

data Status a b Source

Constructors

Failure a 
Success b 

Instances

Typeable2 Status 
Functor (Status a) 
Foldable (Status a) 
Traversable (Status a) 
(Eq a, Eq b) => Eq (Status a b) 
(Show a, Show b) => Show (Status a b) 
Generic (Status a b) 
(ToJSON a, ToJSON b) => ToJSON (Status a b) 
(FromJSON a, FromJSON b) => FromJSON (Status a b) 
(XmlPickler a, XmlPickler b) => XmlPickler (Status a b) 
Regular (Status a0 b0) 
(JSONSchema a, JSONSchema b) => JSONSchema (Status a b) 

data SomeReason whereSource

Constructors

SomeReason :: (XmlPickler e, JSONSchema e, ToJSON e) => Reason e -> SomeReason