Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Morpheus.Types.Error
Documentation
data ErrorLocation Source #
Constructors
ErrorLocation | |
Instances
Show ErrorLocation Source # | |
Defined in Data.Morpheus.Types.Error Methods showsPrec :: Int -> ErrorLocation -> ShowS # show :: ErrorLocation -> String # showList :: [ErrorLocation] -> ShowS # | |
Generic ErrorLocation Source # | |
Defined in Data.Morpheus.Types.Error Associated Types type Rep ErrorLocation :: Type -> Type # | |
ToJSON ErrorLocation Source # | |
Defined in Data.Morpheus.Types.Error Methods toJSON :: ErrorLocation -> Value # toEncoding :: ErrorLocation -> Encoding # toJSONList :: [ErrorLocation] -> Value # toEncodingList :: [ErrorLocation] -> Encoding # | |
type Rep ErrorLocation Source # | |
Defined in Data.Morpheus.Types.Error type Rep ErrorLocation = D1 (MetaData "ErrorLocation" "Data.Morpheus.Types.Error" "morpheus-graphql-0.0.1-9yOQmuk6QYrGODa72tt3vl" False) (C1 (MetaCons "ErrorLocation" PrefixI True) (S1 (MetaSel (Just "line") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "column") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int))) |
Constructors
JSONError | |
Fields
|
Instances
Show JSONError Source # | |
Generic JSONError Source # | |
ToJSON JSONError Source # | |
Defined in Data.Morpheus.Types.Error | |
type Rep JSONError Source # | |
Defined in Data.Morpheus.Types.Error type Rep JSONError = D1 (MetaData "JSONError" "Data.Morpheus.Types.Error" "morpheus-graphql-0.0.1-9yOQmuk6QYrGODa72tt3vl" False) (C1 (MetaCons "JSONError" PrefixI True) (S1 (MetaSel (Just "message") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "locations") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [ErrorLocation]))) |
type Validation a = Either GQLErrors a Source #
failResolveIO :: GQLErrors -> ResolveIO a Source #