packages feed

graphql-w-persistent-0.1.0.1: src/Model/ServerExceptions.hs

module Model.ServerExceptions where

import Control.Exception


data QueryException = SyntaxException | 
                      ParseFragmentException | 
                      EmptyQueryException | 
                      InvalidObjectException | 
                      InvalidObjectSubFieldException |
                      InvalidScalarException |
                      NullArgumentException |
                      CreatingSqlQueryObjectFieldsException |
                      EOFDataProcessingException |
                      InvalidArgumentException |
                      RelationshipConfigurationException
  deriving Show
                      -- InvalidObjectNestedObjectFieldException | 
                      -- InvalidObjectScalarFieldException | 
                      -- InvalidAttributeTransformation |
                      -- CreatingSqlQueryObjectsException |
                      -- TooManyTablesException |
                      -- EmptyRowException |
                      -- Foundlinebreakexception |

instance Exception QueryException