on fbfa2ea help sign in
project-m36/src/lib/ProjectM36/AtomFunctionError.hs
16 lines 643 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 InvalidIntervalOrdering |
11 InvalidIntervalBoundaries |
12 AtomTypeDoesNotSupportOrdering Text |
13 AtomTypeDoesNotSupportInterval Text |
14 AtomFunctionBytesDecodingError String
15 deriving(Generic, Eq, Show, Binary, NFData)