CurlDotNet

CurlDotNet.Exceptions Namespace

Classes
CurlAbortedByCallbackException CURLE_ABORTED_BY_CALLBACK (42) - Aborted by callback
CurlAuthenticationException Thrown when authentication fails
CurlBadContentEncodingException CURLE_BAD_CONTENT_ENCODING (61) - Unrecognized content encoding
CurlBadDownloadResumeException CURLE_BAD_DOWNLOAD_RESUME (36) - Bad download resume
CurlBadFunctionArgumentException CURLE_BAD_FUNCTION_ARGUMENT (43) - Bad function argument
CurlConnectionException Thrown when a network connection cannot be established to the target host.
CurlCookieException Thrown when cookie operations fail
CurlCouldntConnectException CURLE_COULDNT_CONNECT (7) - Failed to connect to host
CurlCouldntResolveHostException CURLE_COULDNT_RESOLVE_HOST (6) - Couldn't resolve host
CurlCouldntResolveProxyException CURLE_COULDNT_RESOLVE_PROXY (5) - Couldn't resolve proxy
CurlDnsException Thrown when DNS resolution fails for a hostname.
CurlException Base exception for all curl operations. This is the base class for all curl-specific exceptions.
CurlExecutionException Thrown when execution fails for general reasons
CurlFailedInitException CURLE_FAILED_INIT (2) - Failed to initialize
CurlFileCouldntReadException CURLE_FILE_COULDNT_READ_FILE (37) - Couldn't read file
CurlFileException Thrown when file operations fail
CurlFileSizeExceededException CURLE_FILESIZE_EXCEEDED (63) - File size exceeded
CurlFtpAcceptFailedException CURLE_FTP_ACCEPT_FAILED (10) - FTP accept failed
CurlFtpAcceptTimeoutException CURLE_FTP_ACCEPT_TIMEOUT (12) - FTP accept timeout
CurlFtpException Thrown when FTP operations fail
CurlFtpWeirdPassReplyException CURLE_FTP_WEIRD_PASS_REPLY (11) - FTP weird PASS reply
CurlFunctionNotFoundException CURLE_FUNCTION_NOT_FOUND (41) - Function not found
CurlGotNothingException CURLE_GOT_NOTHING (52) - Got nothing (empty reply)
CurlHttpException Thrown for HTTP error responses when using ThrowOnError()
CurlHttpPostErrorException CURLE_HTTP_POST_ERROR (34) - HTTP POST error
CurlHttpReturnedErrorException CURLE_HTTP_RETURNED_ERROR (22) - HTTP returned error
CurlInterfaceFailedException CURLE_INTERFACE_FAILED (45) - Interface failed
CurlInvalidCommandException Thrown when the curl command syntax is invalid or cannot be parsed.
CurlLoginDeniedException CURLE_LOGIN_DENIED (67) - Login denied
CurlMalformedUrlException CURLE_URL_MALFORMAT (3) - Malformed URL
CurlNotBuiltInException CURLE_NOT_BUILT_IN (4) - Feature not built in
CurlNotSupportedException Thrown when a required feature is not supported
CurlOperationTimeoutException CURLE_OPERATION_TIMEDOUT (28) - Operation timeout
CurlOptionSyntaxException CURLE_SETOPT_OPTION_SYNTAX (49) - Option syntax error
CurlOutOfMemoryException CURLE_OUT_OF_MEMORY (27) - Out of memory
CurlParsingException Thrown when content parsing fails
CurlPeerFailedVerificationException CURLE_PEER_FAILED_VERIFICATION (60) - Peer certificate verification failed
CurlProxyException Thrown when proxy connection fails
CurlRateLimitException Thrown when rate limiting is encountered
CurlReadErrorException CURLE_READ_ERROR (26) - Read error
CurlReceiveErrorException CURLE_RECV_ERROR (56) - Receive error
CurlRedirectException Thrown when redirect limit is exceeded
CurlRemoteAccessDeniedException CURLE_REMOTE_ACCESS_DENIED (9) - Access denied to remote resource
CurlRetryException Thrown when retry attempts are exhausted
CurlSendErrorException CURLE_SEND_ERROR (55) - Send error
CurlSslCertificateProblemException CURLE_SSL_CERTPROBLEM (58) - Problem with local certificate
CurlSslCipherException CURLE_SSL_CIPHER (59) - Couldn't use SSL cipher
CurlSslConnectErrorException CURLE_SSL_CONNECT_ERROR (35) - SSL connect error
CurlSslEngineNotFoundException CURLE_SSL_ENGINE_NOTFOUND (53) - SSL engine not found
CurlSslEngineSetFailedException CURLE_SSL_ENGINE_SETFAILED (54) - Failed setting SSL engine
CurlSslException Thrown when SSL/TLS certificate validation fails
CurlTimeoutException Thrown when an operation exceeds the configured timeout period.
CurlTooManyRedirectsException CURLE_TOO_MANY_REDIRECTS (47) - Too many redirects
CurlUnknownOptionException CURLE_UNKNOWN_OPTION (48) - Unknown option
CurlUnsupportedProtocolException CURLE_UNSUPPORTED_PROTOCOL (1) - Unsupported protocol
CurlUploadFailedException CURLE_UPLOAD_FAILED (25) - Upload failed
CurlUseSslFailedException CURLE_USE_SSL_FAILED (64) - Required SSL level failed
CurlWeirdServerReplyException CURLE_WEIRD_SERVER_REPLY (8) - Weird server reply
CurlWriteErrorException CURLE_WRITE_ERROR (23) - Write error
Enums
CurlFileException.FileOperation Specifies the type of file operation.

About This Documentation

💎 Sponsored by IronSoftware - Enterprise .NET components trusted by thousands of developers worldwide.

✍️ Written by Jacob Mellor, CTO at IronSoftware.

📦 Get CurlDotNet: NuGet Package | GitHub Repository