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 #

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 # |
Instance details Defined in Network.Curl.Code Methods succ :: CurlCode -> CurlCode # pred :: CurlCode -> CurlCode # toEnum :: Int -> CurlCode # fromEnum :: CurlCode -> Int # enumFrom :: CurlCode -> [CurlCode] # enumFromThen :: CurlCode -> CurlCode -> [CurlCode] # enumFromTo :: CurlCode -> CurlCode -> [CurlCode] # enumFromThenTo :: CurlCode -> CurlCode -> CurlCode -> [CurlCode] #
Show CurlCode # |
Instance details Defined in Network.Curl.Code Methods showsPrec :: Int -> CurlCode -> ShowS # show :: CurlCode -> String # showList :: [CurlCode] -> ShowS #
Eq CurlCode # |
Instance details Defined in Network.Curl.Code Methods (==) :: CurlCode -> CurlCode -> Bool # (/=) :: CurlCode -> CurlCode -> Bool #

toCode :: CInt -> CurlCode #