on e5bb4e5 help sign in
project-m36/src/lib/ProjectM36/AtomFunctionError.hs
17 lines 742 B history raw
1{-# LANGUAGE DeriveGeneric, DeriveAnyClass #-}
2module ProjectM36.AtomFunctionError where
3import GHC.Generics
4import Control.DeepSeq
5import Data.Text
7data AtomFunctionError = AtomFunctionUserError String |
8 AtomFunctionTypeMismatchError |
9 InvalidIntervalOrderingError |
10 InvalidIntervalBoundariesError |
11 InvalidIntBoundError |
12 AtomFunctionEmptyRelationError |
13 AtomTypeDoesNotSupportOrderingError Text |
14 AtomTypeDoesNotSupportIntervalError Text |
15 AtomFunctionBytesDecodingError String
16 deriving(Generic, Eq, Show, NFData)