mattermost-api-50200.5.0: Client API for Mattermost chat system

Safe HaskellNone
LanguageHaskell2010

Network.Mattermost.Exceptions

Documentation

data LoginFailureException Source #

Constructors

LoginFailureException String 
Instances
Show LoginFailureException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> LoginFailureException -> ShowS

show :: LoginFailureException -> String

showList :: [LoginFailureException] -> ShowS

Exception LoginFailureException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: LoginFailureException -> SomeException

fromException :: SomeException -> Maybe LoginFailureException

displayException :: LoginFailureException -> String

data URIParseException Source #

Constructors

URIParseException String 
Instances
Show URIParseException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> URIParseException -> ShowS

show :: URIParseException -> String

showList :: [URIParseException] -> ShowS

Exception URIParseException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: URIParseException -> SomeException

fromException :: SomeException -> Maybe URIParseException

displayException :: URIParseException -> String

data ContentTypeException Source #

Constructors

ContentTypeException String 
Instances
Show ContentTypeException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> ContentTypeException -> ShowS

show :: ContentTypeException -> String

showList :: [ContentTypeException] -> ShowS

Exception ContentTypeException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: ContentTypeException -> SomeException

fromException :: SomeException -> Maybe ContentTypeException

displayException :: ContentTypeException -> String

data JSONDecodeException Source #

Constructors

JSONDecodeException 

Fields

Instances
Show JSONDecodeException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> JSONDecodeException -> ShowS

show :: JSONDecodeException -> String

showList :: [JSONDecodeException] -> ShowS

Exception JSONDecodeException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: JSONDecodeException -> SomeException

fromException :: SomeException -> Maybe JSONDecodeException

displayException :: JSONDecodeException -> String

data HTTPResponseException Source #

Constructors

HTTPResponseException String 
Instances
Show HTTPResponseException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> HTTPResponseException -> ShowS

show :: HTTPResponseException -> String

showList :: [HTTPResponseException] -> ShowS

Exception HTTPResponseException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: HTTPResponseException -> SomeException

fromException :: SomeException -> Maybe HTTPResponseException

displayException :: HTTPResponseException -> String

data MattermostError Source #

Instances
Show MattermostError Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> MattermostError -> ShowS

show :: MattermostError -> String

showList :: [MattermostError] -> ShowS

FromJSON MattermostError Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

parseJSON :: Value -> Parser MattermostError

parseJSONList :: Value -> Parser [MattermostError]

Exception MattermostError Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: MattermostError -> SomeException

fromException :: SomeException -> Maybe MattermostError

displayException :: MattermostError -> String

data ConnectionException Source #

Constructors

ConnectionException ConnError 
Instances
Show ConnectionException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> ConnectionException -> ShowS

show :: ConnectionException -> String

showList :: [ConnectionException] -> ShowS

Exception ConnectionException Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: ConnectionException -> SomeException

fromException :: SomeException -> Maybe ConnectionException

displayException :: ConnectionException -> String

data MattermostServerError Source #

Constructors

MattermostServerError Text 
Instances
Show MattermostServerError Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

showsPrec :: Int -> MattermostServerError -> ShowS

show :: MattermostServerError -> String

showList :: [MattermostServerError] -> ShowS

Exception MattermostServerError Source # 
Instance details

Defined in Network.Mattermost.Exceptions

Methods

toException :: MattermostServerError -> SomeException

fromException :: SomeException -> Maybe MattermostServerError

displayException :: MattermostServerError -> String