on 802f2ce help sign in
project-m36/src/lib/ProjectM36/AtomFunctionError.hs
17 lines 721 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 AtomFunctionEmptyRelationError |
13 AtomTypeDoesNotSupportOrderingError Text |
14 AtomTypeDoesNotSupportIntervalError Text |
15 AtomFunctionBytesDecodingError String
16 deriving(Generic, Eq, Show, Binary, NFData)