Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.Morpheus.Error
Synopsis
- errorMessage :: Position -> Message -> [GQLError]
- globalErrorMessage :: Message -> [GQLError]
- renderGQLErrors :: GQLErrors -> String
- deprecatedField :: FieldName -> Ref FieldName -> Maybe Description -> GQLError
- subfieldsNotSelected :: FieldName -> TypeName -> Position -> GQLError
- class NameCollision e a where
- nameCollision :: a -> e
- gqlWarnings :: [GQLError] -> Q ()
- printWarning :: GQLError -> String
- printError :: String -> String -> GQLError -> String
Documentation
globalErrorMessage :: Message -> [GQLError] Source #
Deprecated: use validation errors
renderGQLErrors :: GQLErrors -> String Source #
deprecatedField :: FieldName -> Ref FieldName -> Maybe Description -> GQLError Source #
class NameCollision e a where Source #
Methods
nameCollision :: a -> e Source #
Instances
gqlWarnings :: [GQLError] -> Q () Source #
printWarning :: GQLError -> String Source #