purebred-0.1.0.0: An mail user agent built around notmuch

Safe HaskellNone
LanguageHaskell2010

Error

Description

Error types for purebred

Documentation

data Error Source #

Constructors

NotmuchError Status 
InvalidTag ByteString 
MessageNotFound ByteString 
ThreadNotFound ByteString 
FileReadError FilePath IOError

failed to read a file

FileParseError FilePath String

failed to parse a file

SendMailError String 
GenericError String 
ProcessError String 
ParseError String 
Instances
Eq Error Source # 
Instance details

Defined in Error

Methods

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

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

Show Error Source # 
Instance details

Defined in Error

Methods

showsPrec :: Int -> Error -> ShowS

show :: Error -> String

showList :: [Error] -> ShowS

AsNotmuchError Error Source # 
Instance details

Defined in Error

Methods

_NotmuchError :: Prism' Error Status