HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
NET_HTTPResponse::Error Struct Reference

#include <NET_WebResponse.h>

Public Types

enum  Code {
  INTERNAL_ERROR = -1, OK = 0, 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
}
 

Public Member Functions

UT_StringHolder buildErrorMessage () const
 

Static Public Member Functions

static Code translateErrorToCode (int err)
 
static UT_StringHolder codeToString (Code code)
 

Public Attributes

Code myErrorCode = Code::OK
 
UT_StringHolder myErrorMsg
 
UT_StringHolder myExtraDetails
 

Detailed Description

Definition at line 153 of file NET_WebResponse.h.

Member Enumeration Documentation

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 160 of file NET_WebResponse.h.

Member Function Documentation

UT_StringHolder NET_HTTPResponse::Error::buildErrorMessage ( ) const
static UT_StringHolder NET_HTTPResponse::Error::codeToString ( Code  code)
static
static Code NET_HTTPResponse::Error::translateErrorToCode ( int  err)
static

Member Data Documentation

Code NET_HTTPResponse::Error::myErrorCode = Code::OK

Definition at line 256 of file NET_WebResponse.h.

UT_StringHolder NET_HTTPResponse::Error::myErrorMsg

Definition at line 258 of file NET_WebResponse.h.

UT_StringHolder NET_HTTPResponse::Error::myExtraDetails

Definition at line 262 of file NET_WebResponse.h.


The documentation for this struct was generated from the following file: