slab-0.0.1.0: A programmable markup language to generate HTML
Safe HaskellSafe-Inferred
LanguageHaskell2010

Slab.Error

Synopsis

Documentation

data Error Source #

Represent all errors emitted by Slab. I.e. this is used in each stage (Parse, PreProcess, Evaluate, ExecuteError).

Instances

Instances details
Show Error Source # 
Instance details

Defined in Slab.Error

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

Eq Error Source # 
Instance details

Defined in Slab.Error

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

unwrap :: Either Error a -> IO a Source #

Extract a Right value, or die, emitting an error message.