- data CurlCode
- = 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
- toCode :: CInt -> CurlCode
- ccToSh :: CurlCode -> ShpiderCode
- data ShpiderCode
- = Ok
- | InvalidURL
- | HttpError
- | OffSite
- | WrongData
- | NoHost
- | UnsupportedProtocol
- | TimeOut
- | UnsupportedCurlStatus CurlCode
Documentation
ccToSh :: CurlCode -> ShpiderCodeSource
Converts a CurlCode
to a ShpiderCode
.
data ShpiderCode Source
ShpiderCode describes the various contingencies which may occur during a shpider transaction.