curl-1.3.8: Haskell binding to libcurl

Copyright | (c) Galois Inc 2007-2009 2011
License | BSD3
Maintainer | Sigbjorn Finne <sof@galois.com>
Stability | provisional
Portability | portable
Safe Haskell | Safe-Inferred
Language | Haskell98

Network.Curl.Code

Description

Representing Curl's status codes as a Haskell type.

# Documentation

data CurlCode Source #

Constructors

CurlOK |
CurlUnspportedProtocol |
CurlFailedInit |
CurlUrlMalformat |
CurlUrlMalformatUser |
CurlCouldntResolveProxy |
CurlCouldntResolveHost |
CurlCouldntConnect |
CurlFtpWeirdServerReply |
CurlFtpAccessDenied |
CurlFtpUserPasswordIncorrect |
CurlFtpWeirdPassReply |
CurlFtpWeirdUserReply |
CurlFtpWeirdPASVReply |
CurlFtpWeird227Format |
CurlFtpCantGetHost |
CurlFtpCantReconnect |
CurlFtpCouldnSetBinary |
CurlPartialFile |
CurlFtpCouldntRetrFile |
CurlFtpWriteError |
CurlFtpQuoteError |
CurlHttpReturnedError |
CurlWriteError |
CurlMalformatError |
CurlFtpCouldnStorFile |
CurlReadError |
CurlOutOfMemory |
CurlOperationTimeout |
CurlFtpCouldntSetAscii |
CurlFtpPortFailed |
CurlFtpCouldntUseRest |
CurlFtpCouldntGetSize |
CurlHttpRangeError |
CurlHttpPostError |
CurlSSLConnectError |
CurlBadDownloadResume |
CurlFileCouldntReadFile |
CurlLDAPCannotBind |
CurlLDPAPSearchFailed |
CurlLibraryNotFound |
CurlFunctionNotFound |
CurlAbortedByCallback |
CurlBadFunctionArgument |
CurlBadCallingOrder |
CurlInterfaceFailed |
CurlBadPasswordEntered |
CurlTooManyRedirects |
CurlUnknownTelnetOption |
CurlTelnetOptionSyntax |
CurlObsolete |
CurlSSLPeerCertificate |
CurlGotNothing |
CurlSSLEngineNotFound |
CurlSSLEngineSetFailed |
CurlSendError |
CurlRecvError |
CurlShareInUse |
CurlSSLCertProblem |
CurlSSLCipher |
CurlSSLCACert |
CurlBadContentEncoding |
CurlLDAPInvalidUrl |
CurlFilesizeExceeded |
CurlFtpSSLFailed |
CurlSendFailRewind |
CurlSSLEngineInitFailed |
CurlLoginDenied |
CurlTFtpNotFound |
CurlTFtpPerm |
CurlTFtpDiskFull |
CurlTFtpIllegal |
CurlTFtpUnknownId |
CurlTFtpExists |
CurlTFtpNoSuchUser |
CurlConvFailed |
CurlConvReqd |
CurlSSLCACertBadFile |
CurlRemoveFileNotFound |
CurlSSH |
CurlSSLShutdownFailed |
CurlAgain |
CurlSSLCRLBadFile |
CurlSSLIssuerError |

#### Instances

Instances details

Enum CurlCode Source # |

Instance details

Defined in Network.Curl.Code

Methods

succ :: CurlCode -> CurlCode Source #

pred :: CurlCode -> CurlCode Source #

toEnum :: Int -> CurlCode Source #

fromEnum :: CurlCode -> Int Source #

enumFrom :: CurlCode -> [CurlCode] Source #

enumFromThen :: CurlCode -> CurlCode -> [CurlCode] Source #

enumFromTo :: CurlCode -> CurlCode -> [CurlCode] Source #

enumFromThenTo :: CurlCode -> CurlCode -> CurlCode -> [CurlCode] Source #

Show CurlCode Source # |
Instance details Defined in Network.Curl.Code Methods showsPrec :: Int -> CurlCode -> ShowS Source # show :: CurlCode -> String Source # showList :: [CurlCode] -> ShowS Source #
Eq CurlCode Source # |
Instance details Defined in Network.Curl.Code Methods (==) :: CurlCode -> CurlCode -> Bool Source # (/=) :: CurlCode -> CurlCode -> Bool Source #

toCode :: CInt -> CurlCode Source #