HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET Namespace Reference

Enumerations

enum  CurlError {
  CurlError::INTERNAL_ERROR = -1, CurlError::OK = 0, CurlError::UNSUPPORTED_PROTOCOL, CurlError::FAILED_INIT,
  CurlError::URL_MALFORMAT, CurlError::NOT_BUILT_IN, CurlError::COULDNT_RESOLVE_PROXY, CurlError::COULDNT_RESOLVE_HOST,
  CurlError::COULDNT_CONNECT, CurlError::WEIRD_SERVER_REPLY, CurlError::REMOTE_ACCESS_DENIED, CurlError::FTP_ACCEPT_FAILED,
  CurlError::FTP_WEIRD_PASS_REPLY, CurlError::FTP_ACCEPT_TIMEOUT, CurlError::FTP_WEIRD_PASV_REPLY, CurlError::FTP_WEIRD_227_FORMAT,
  CurlError::FTP_CANT_GET_HOST, CurlError::HTTP2_PROBLEM, CurlError::FTP_COULDNT_SET_TYPE, CurlError::PARTIAL_FILE,
  CurlError::FTP_COULDNT_RETR_FILE, CurlError::QUOTE_ERROR, CurlError::HTTP_RETURNED_ERROR, CurlError::WRITE_ERROR,
  CurlError::UPLOAD_FAILED, CurlError::READ_ERROR, CurlError::OUT_OF_MEMORY, CurlError::OPERATION_TIMEDOUT,
  CurlError::FTP_PORT_FAILED, CurlError::FTP_COULDNT_USE_REST, CurlError::RANGE_ERROR, CurlError::HTTP_POST_ERROR,
  CurlError::SSL_CONNECT_ERROR, CurlError::BAD_DOWNLOAD_RESUME, CurlError::FILE_COULDNT_READ_FILE, CurlError::LDAP_CANNOT_BIND,
  CurlError::LDAP_SEARCH_FAILED, CurlError::FUNCTION_NOT_FOUND, CurlError::ABORTED_BY_CALLBACK, CurlError::BAD_FUNCTION_ARGUMENT,
  CurlError::INTERFACE_FAILED, CurlError::TOO_MANY_REDIRECTS, CurlError::UNKNOWN_OPTION, CurlError::TELNET_OPTION_SYNTAX,
  CurlError::GOT_NOTHING, CurlError::SSL_ENGINE_NOTFOUND, CurlError::SSL_ENGINE_SETFAILED, CurlError::SEND_ERROR,
  CurlError::RECV_ERROR, CurlError::SSL_CERTPROBLEM, CurlError::SSL_CIPHER, CurlError::PEER_FAILED_VERIFICATION,
  CurlError::BAD_CONTENT_ENCODING, CurlError::LDAP_INVALID_URL, CurlError::FILESIZE_EXCEEDED, CurlError::USE_SSL_FAILED,
  CurlError::SEND_FAIL_REWIND, CurlError::SSL_ENGINE_INITFAILED, CurlError::LOGIN_DENIED, CurlError::TFTP_NOTFOUND,
  CurlError::REMOTE_DISK_FULL, CurlError::TFTP_ILLEGAL, CurlError::TFTP_UNKNOWNID, CurlError::REMOTE_FILE_EXISTS,
  CurlError::TFTP_NOSUCHUSER, CurlError::CONV_FAILED, CurlError::CONV_REQD, CurlError::SSL_CACERT_BADFILE,
  CurlError::REMOTE_FILE_NOT_FOUND, CurlError::SSH_ERROR, CurlError::SSL_SHUTDOWN_FAILED, CurlError::AGAIN_ERROR,
  CurlError::SSL_CRL_BADFILE, CurlError::SSL_ISSUER_ERROR, CurlError::FTP_PRET_FAILED, CurlError::RTSP_CSEQ_ERROR,
  CurlError::RTSP_SESSION_ERROR, CurlError::FTP_BAD_FILE_LIST, CurlError::CHUNK_FAILED, CurlError::NO_CONNECTION_AVAILABLE,
  CurlError::SSL_PINNEDPUBKEYNOMATCH, CurlError::SSL_INVALIDCERTSTATUS, CurlError::HTTP2_STREAM, CurlError::RECURSIVE_API_CALL,
  CurlError::AUTH_ERROR, CurlError::HTTP3_ERROR, CurlError::QUIC_CONNECT_ERROR, CurlError::OBSOLETE
}
 
enum  HTTPError { HTTPError::INTERNAL_ERROR = -1, HTTPError::OK = 0, HTTPError::MAX_RETRIES }
 

Functions

NET_API const UT_ErrorCategoryGetCurlErrorCategory ()
 
UT_ErrorCode make_error_code (NET::CurlError e)
 
NET_API const UT_ErrorCategoryGetHTTPErrorCategory ()
 
UT_ErrorCode make_error_code (NET::HTTPError e)
 

Enumeration Type Documentation

enum NET::CurlError
strong
Enumerator
INTERNAL_ERROR 
OK 
UNSUPPORTED_PROTOCOL 
FAILED_INIT 
URL_MALFORMAT 
NOT_BUILT_IN 
COULDNT_RESOLVE_PROXY 
COULDNT_RESOLVE_HOST 
COULDNT_CONNECT 
WEIRD_SERVER_REPLY 
REMOTE_ACCESS_DENIED 
FTP_ACCEPT_FAILED 
FTP_WEIRD_PASS_REPLY 
FTP_ACCEPT_TIMEOUT 
FTP_WEIRD_PASV_REPLY 
FTP_WEIRD_227_FORMAT 
FTP_CANT_GET_HOST 
HTTP2_PROBLEM 
FTP_COULDNT_SET_TYPE 
PARTIAL_FILE 
FTP_COULDNT_RETR_FILE 
QUOTE_ERROR 
HTTP_RETURNED_ERROR 
WRITE_ERROR 
UPLOAD_FAILED 
READ_ERROR 
OUT_OF_MEMORY 
OPERATION_TIMEDOUT 
FTP_PORT_FAILED 
FTP_COULDNT_USE_REST 
RANGE_ERROR 
HTTP_POST_ERROR 
SSL_CONNECT_ERROR 
BAD_DOWNLOAD_RESUME 
FILE_COULDNT_READ_FILE 
LDAP_CANNOT_BIND 
LDAP_SEARCH_FAILED 
FUNCTION_NOT_FOUND 
ABORTED_BY_CALLBACK 
BAD_FUNCTION_ARGUMENT 
INTERFACE_FAILED 
TOO_MANY_REDIRECTS 
UNKNOWN_OPTION 
TELNET_OPTION_SYNTAX 
GOT_NOTHING 
SSL_ENGINE_NOTFOUND 
SSL_ENGINE_SETFAILED 
SEND_ERROR 
RECV_ERROR 
SSL_CERTPROBLEM 
SSL_CIPHER 
PEER_FAILED_VERIFICATION 
BAD_CONTENT_ENCODING 
LDAP_INVALID_URL 
FILESIZE_EXCEEDED 
USE_SSL_FAILED 
SEND_FAIL_REWIND 
SSL_ENGINE_INITFAILED 
LOGIN_DENIED 
TFTP_NOTFOUND 
REMOTE_DISK_FULL 
TFTP_ILLEGAL 
TFTP_UNKNOWNID 
REMOTE_FILE_EXISTS 
TFTP_NOSUCHUSER 
CONV_FAILED 
CONV_REQD 
SSL_CACERT_BADFILE 
REMOTE_FILE_NOT_FOUND 
SSH_ERROR 
SSL_SHUTDOWN_FAILED 
AGAIN_ERROR 
SSL_CRL_BADFILE 
SSL_ISSUER_ERROR 
FTP_PRET_FAILED 
RTSP_CSEQ_ERROR 
RTSP_SESSION_ERROR 
FTP_BAD_FILE_LIST 
CHUNK_FAILED 
NO_CONNECTION_AVAILABLE 
SSL_PINNEDPUBKEYNOMATCH 
SSL_INVALIDCERTSTATUS 
HTTP2_STREAM 
RECURSIVE_API_CALL 
AUTH_ERROR 
HTTP3_ERROR 
QUIC_CONNECT_ERROR 
OBSOLETE 

Definition at line 165 of file NET_WebResponse.h.

enum NET::HTTPError
strong
Enumerator
INTERNAL_ERROR 
OK 
MAX_RETRIES 

Definition at line 82 of file NET_WebTypes.h.

Function Documentation

NET_API const UT_ErrorCategory& NET::GetCurlErrorCategory ( )
NET_API const UT_ErrorCategory& NET::GetHTTPErrorCategory ( )
UT_ErrorCode NET::make_error_code ( NET::HTTPError  e)
inline

Definition at line 92 of file NET_WebTypes.h.

UT_ErrorCode NET::make_error_code ( NET::CurlError  e)
inline

Definition at line 260 of file NET_WebResponse.h.