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