Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module defines exceptions which can be thrown within this library.
Documentation
data PushoverException Source #
Defines possible exceptions which can be thrown from execution commands.
ResponseDecodeException | This exception is thrown when a response is malformed and cannot be decoded. |
InvalidTokenCharactersException | This exception is thrown when a token cannot be constructed because it contains invalid characters. |
InvalidTokenLengthException | This exception is thrown when a token cannot be constructed because it is an incorrect length. |
PushoverException String | This is a generic exception for other errors in Pushover. |
errorMessage :: PushoverException -> String Source #
Display a description error message for each PushoverException
constructor.