module Model.ServerExceptions where
import Control.Exception
data QueryException = SyntaxException |
ParseFragmentException |
EmptyQueryException |
InvalidObjectException |
InvalidScalarException |
NullArgumentException |
CreatingSqlQueryObjectFieldsException |
CreatingSqlQueryObjectsException |
EOFDataProcessingException |
RelationshipConfigurationException |
FailedObjectEqualityException |
DuplicateRootObjectsException |
ImportSchemaException |
ImportSchemaServerNameException |
ImportSchemaPseudonymsException |
ImportSchemaScalarFieldsException |
ImportSchemaObjectFieldsException |
ImportSchemaDatabaseTablesException |
ImportSchemaDatabaseRelationshipsException |
ImportSchemaChildrenException |
ImportSchemaDuplicateException |
MissingVariableValueException |
InvalidVariableNameException |
MismatchedVariableTypeException |
InvalidVariableTypeException |
ReadVariablesException |
VariablesSyntaxException |
InvalidArgumentException |
InvalidObjectSubfieldException
deriving Show
instance Exception QueryException