RlpcError

This commit is contained in:
crumbtoo
2023-12-28 15:55:24 -07:00
parent c2960e4acc
commit 526bf0734e
7 changed files with 58 additions and 4 deletions

15
src/Compiler/RlpcError.hs Normal file
View File

@@ -0,0 +1,15 @@
module Compiler.RlpcError
( RlpcError(..)
, IsRlpcError(..)
)
where
----------------------------------------------------------------------------------
import Control.Monad.Errorful
----------------------------------------------------------------------------------
data RlpcError = RlpcErr String -- temp
deriving Show
class IsRlpcError a where
liftRlpcErr :: a -> RlpcError