| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Network.Pushover.Exceptions
Documentation
data PushoverException Source #
Defines possible exceptions which can be thrown from execution commands.
Constructors
| 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.