Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- catchXMLRPCError :: IO a -> (XMLRPCError -> GErrorMessage -> IO a) -> IO a
- handleXMLRPCError :: (XMLRPCError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchTLDError :: IO a -> (TLDError -> GErrorMessage -> IO a) -> IO a
- handleTLDError :: (TLDError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchRequesterError :: IO a -> (RequesterError -> GErrorMessage -> IO a) -> IO a
- handleRequesterError :: (RequesterError -> GErrorMessage -> IO a) -> IO a -> IO a
- catchRequestError :: IO a -> (RequestError -> GErrorMessage -> IO a) -> IO a
- handleRequestError :: (RequestError -> GErrorMessage -> IO a) -> IO a -> IO a
- data XMLRPCFault
- = XMLRPCFaultParseErrorNotWellFormed
- | XMLRPCFaultParseErrorUnsupportedEncoding
- | XMLRPCFaultParseErrorInvalidCharacterForEncoding
- | XMLRPCFaultServerErrorInvalidXmlRpc
- | XMLRPCFaultServerErrorRequestedMethodNotFound
- | XMLRPCFaultServerErrorInvalidMethodParameters
- | XMLRPCFaultServerErrorInternalXmlRpcError
- | XMLRPCFaultApplicationError
- | XMLRPCFaultSystemError
- | XMLRPCFaultTransportError
- | AnotherXMLRPCFault Int
- data XMLRPCError
- data WebsocketState
- data WebsocketError
- data WebsocketDataType
- data WebsocketConnectionType
- data WebsocketCloseCode
- = WebsocketCloseCodeNormal
- | WebsocketCloseCodeGoingAway
- | WebsocketCloseCodeProtocolError
- | WebsocketCloseCodeUnsupportedData
- | WebsocketCloseCodeNoStatus
- | WebsocketCloseCodeAbnormal
- | WebsocketCloseCodeBadData
- | WebsocketCloseCodePolicyViolation
- | WebsocketCloseCodeTooBig
- | WebsocketCloseCodeNoExtension
- | WebsocketCloseCodeServerError
- | WebsocketCloseCodeTlsHandshake
- | AnotherWebsocketCloseCode Int
- data TLDError
- data Status
- = StatusNone
- | StatusCancelled
- | StatusCantResolve
- | StatusCantResolveProxy
- | StatusCantConnect
- | StatusCantConnectProxy
- | StatusSslFailed
- | StatusIoError
- | StatusMalformed
- | StatusTryAgain
- | StatusTooManyRedirects
- | StatusTlsFailed
- | StatusContinue
- | StatusSwitchingProtocols
- | StatusProcessing
- | StatusOk
- | StatusCreated
- | StatusAccepted
- | StatusNonAuthoritative
- | StatusNoContent
- | StatusResetContent
- | StatusPartialContent
- | StatusMultiStatus
- | StatusMultipleChoices
- | StatusMovedPermanently
- | StatusFound
- | StatusMovedTemporarily
- | StatusSeeOther
- | StatusNotModified
- | StatusUseProxy
- | StatusNotAppearingInThisProtocol
- | StatusTemporaryRedirect
- | StatusBadRequest
- | StatusUnauthorized
- | StatusPaymentRequired
- | StatusForbidden
- | StatusNotFound
- | StatusMethodNotAllowed
- | StatusNotAcceptable
- | StatusProxyAuthenticationRequired
- | StatusProxyUnauthorized
- | StatusRequestTimeout
- | StatusConflict
- | StatusGone
- | StatusLengthRequired
- | StatusPreconditionFailed
- | StatusRequestEntityTooLarge
- | StatusRequestUriTooLong
- | StatusUnsupportedMediaType
- | StatusRequestedRangeNotSatisfiable
- | StatusInvalidRange
- | StatusExpectationFailed
- | StatusUnprocessableEntity
- | StatusLocked
- | StatusFailedDependency
- | StatusInternalServerError
- | StatusNotImplemented
- | StatusBadGateway
- | StatusServiceUnavailable
- | StatusGatewayTimeout
- | StatusHttpVersionNotSupported
- | StatusInsufficientStorage
- | StatusNotExtended
- | AnotherStatus Int
- data SocketIOStatus
- data RequesterError
- data RequestError
- data MessagePriority
- data MessageHeadersType
- data MemoryUse
- data LoggerLogLevel
- data KnownStatusCode
- = KnownStatusCodeNone
- | KnownStatusCodeCancelled
- | KnownStatusCodeCantResolve
- | KnownStatusCodeCantResolveProxy
- | KnownStatusCodeCantConnect
- | KnownStatusCodeCantConnectProxy
- | KnownStatusCodeSslFailed
- | KnownStatusCodeIoError
- | KnownStatusCodeMalformed
- | KnownStatusCodeTryAgain
- | KnownStatusCodeTooManyRedirects
- | KnownStatusCodeTlsFailed
- | KnownStatusCodeContinue
- | KnownStatusCodeSwitchingProtocols
- | KnownStatusCodeProcessing
- | KnownStatusCodeOk
- | KnownStatusCodeCreated
- | KnownStatusCodeAccepted
- | KnownStatusCodeNonAuthoritative
- | KnownStatusCodeNoContent
- | KnownStatusCodeResetContent
- | KnownStatusCodePartialContent
- | KnownStatusCodeMultiStatus
- | KnownStatusCodeMultipleChoices
- | KnownStatusCodeMovedPermanently
- | KnownStatusCodeFound
- | KnownStatusCodeMovedTemporarily
- | KnownStatusCodeSeeOther
- | KnownStatusCodeNotModified
- | KnownStatusCodeUseProxy
- | KnownStatusCodeNotAppearingInThisProtocol
- | KnownStatusCodeTemporaryRedirect
- | KnownStatusCodeBadRequest
- | KnownStatusCodeUnauthorized
- | KnownStatusCodePaymentRequired
- | KnownStatusCodeForbidden
- | KnownStatusCodeNotFound
- | KnownStatusCodeMethodNotAllowed
- | KnownStatusCodeNotAcceptable
- | KnownStatusCodeProxyAuthenticationRequired
- | KnownStatusCodeProxyUnauthorized
- | KnownStatusCodeRequestTimeout
- | KnownStatusCodeConflict
- | KnownStatusCodeGone
- | KnownStatusCodeLengthRequired
- | KnownStatusCodePreconditionFailed
- | KnownStatusCodeRequestEntityTooLarge
- | KnownStatusCodeRequestUriTooLong
- | KnownStatusCodeUnsupportedMediaType
- | KnownStatusCodeRequestedRangeNotSatisfiable
- | KnownStatusCodeInvalidRange
- | KnownStatusCodeExpectationFailed
- | KnownStatusCodeUnprocessableEntity
- | KnownStatusCodeLocked
- | KnownStatusCodeFailedDependency
- | KnownStatusCodeInternalServerError
- | KnownStatusCodeNotImplemented
- | KnownStatusCodeBadGateway
- | KnownStatusCodeServiceUnavailable
- | KnownStatusCodeGatewayTimeout
- | KnownStatusCodeHttpVersionNotSupported
- | KnownStatusCodeInsufficientStorage
- | KnownStatusCodeNotExtended
- | AnotherKnownStatusCode Int
- data HTTPVersion
- data Encoding
- data DateFormat
- data CookieJarAcceptPolicy
- data ConnectionState
- data CacheType
- data CacheResponse
- data AddressFamily
Documentation
catchXMLRPCError :: IO a -> (XMLRPCError -> GErrorMessage -> IO a) -> IO a Source
handleXMLRPCError :: (XMLRPCError -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchTLDError :: IO a -> (TLDError -> GErrorMessage -> IO a) -> IO a Source
handleTLDError :: (TLDError -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchRequesterError :: IO a -> (RequesterError -> GErrorMessage -> IO a) -> IO a Source
handleRequesterError :: (RequesterError -> GErrorMessage -> IO a) -> IO a -> IO a Source
catchRequestError :: IO a -> (RequestError -> GErrorMessage -> IO a) -> IO a Source
handleRequestError :: (RequestError -> GErrorMessage -> IO a) -> IO a -> IO a Source
Exported types
data XMLRPCFault Source
data XMLRPCError Source
data WebsocketState Source
data WebsocketError Source
data WebsocketDataType Source
data WebsocketCloseCode Source
data SocketIOStatus Source
data RequesterError Source
data RequestError Source
data MessagePriority Source
data MessageHeadersType Source
data LoggerLogLevel Source
data KnownStatusCode Source
data HTTPVersion Source
data DateFormat Source
data ConnectionState Source
data CacheResponse Source