@Generated(value="Generated by the protocol buffer compiler") public enum NetError extends java.lang.Enum<NetError> implements com.google.protobuf.ProtocolMessageEnum
Enum Constant and Description |
---|
ABORTED
An operation was aborted (due to user action).
|
ACCESS_DENIED
Permission to access a resource, other than the network, was denied.
|
ADD_USER_CERT_FAILED
An error adding a certificate to the OS certificate database.
|
ADDRESS_IN_USE
Returned when attempting to bind an address that is already in use.
|
ADDRESS_INVALID
The IP address or port number is invalid (e.g., cannot connect to the IP
address 0 or the port 0).
|
ADDRESS_UNREACHABLE
The IP address is unreachable.
|
ALPN_NEGOTIATION_FAILED
The request to negotiate an alternate protocol failed.
|
BAD_SSL_CLIENT_AUTH_CERT
The SSL handshake failed because of a bad or missing client certificate.
|
BLOCKED_BY_ADMINISTRATOR
The request was blocked by the URL block list configured by the domain
administrator.
|
BLOCKED_BY_CLIENT
The client chose to block the request.
|
BLOCKED_BY_RESPONSE
The request failed because the response was delivered along with requirements
which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor
checks and 'Cross-Origin-Resource-Policy', for instance).
|
CACHE_AUTH_FAILURE_AFTER_READ
Received a challenge after the transaction has read some data, and the
credentials aren't available.
|
CACHE_CHECKSUM_MISMATCH
The cache found an entry with an invalid checksum.
|
CACHE_CHECKSUM_READ_FAILURE
The cache was unable to read a checksum record on an entry.
|
CACHE_CREATE_FAILURE
The disk cache is unable to create this entry.
|
CACHE_DOOM_FAILURE
The disk cache is unable to doom this entry.
|
CACHE_ENTRY_NOT_SUITABLE
Internal not-quite error code for the HTTP cache.
|
CACHE_LOCK_TIMEOUT
Internal error code for the HTTP cache.
|
CACHE_MISS
The cache does not have the requested entry.
|
CACHE_OPEN_FAILURE
The disk cache is unable to open this entry.
|
CACHE_OPEN_OR_CREATE_FAILURE
The disk cache is unable to open or create this entry.
|
CACHE_OPERATION_NOT_SUPPORTED
The operation is not supported for this entry.
|
CACHE_RACE
Multiple transactions are racing to create disk cache entries.
|
CACHE_READ_FAILURE
Unable to read from the disk cache.
|
CACHE_WRITE_FAILURE
Unable to write to the disk cache.
|
CERT_AUTHORITY_INVALID
The server responded with a certificate that is signed by an authority we don't trust.
|
CERT_COMMON_NAME_INVALID
The server responded with a certificate whose common name did not match the host name.
|
CERT_CONTAINS_ERRORS
The server responded with a certificate that contains errors.
|
CERT_DATABASE_CHANGED
The certificate database changed in some way.
|
CERT_DATE_INVALID
The server responded with a certificate that, by our clock, appears to
either not yet be valid or to have expired.
|
CERT_END
The value immediately past the last certificate error code.
|
CERT_INVALID
The server responded with a certificate that is invalid.
|
CERT_NAME_CONSTRAINT_VIOLATION
The certificate claimed DNS names that are in violation of name constraints.
|
CERT_NO_REVOCATION_MECHANISM
The certificate has no mechanism for determining if it is revoked.
|
CERT_NON_UNIQUE_NAME
The host name specified in the certificate is not unique.
|
CERT_REVOKED
The server responded with a certificate has been revoked.
|
CERT_SYMANTEC_LEGACY
The certificate chained to a legacy Symantec root that is no longer trusted.
|
CERT_TRANSPARENCY_REQUIRED
Certificate Transparency was required for this connection, but the server
did not provide CT information that complied with the policy.
|
CERT_UNABLE_TO_CHECK_REVOCATION
Revocation information for the security certificate for this site is not
available.
|
CERT_VALIDITY_TOO_LONG
The certificate's validity period is too long.
|
CERT_WEAK_KEY
The server responded with a certificate that contains a weak key (e.g.
|
CERT_WEAK_SIGNATURE_ALGORITHM
The server responded with a certificate that is signed using a weak
signature algorithm.
|
CLIENT_AUTH_CERT_TYPE_UNSUPPORTED
Server request for client certificate did not contain any types we support.
|
CONNECTION_ABORTED
A connection timed out as a result of not receiving an ACK for data sent.
|
CONNECTION_CLOSED
A connection was closed (corresponding to a TCP FIN).
|
CONNECTION_FAILED
A connection attempt failed.
|
CONNECTION_REFUSED
A connection attempt was refused.
|
CONNECTION_RESET
A connection was reset (corresponding to a TCP RST).
|
CONNECTION_TIMED_OUT
A connection attempt timed out.
|
CONTENT_DECODING_FAILED
Content decoding of the response body failed.
|
CONTENT_DECODING_INIT_FAILED
Initializing content decoding failed.
|
CONTENT_LENGTH_MISMATCH
The HTTP response body transferred fewer bytes than were advertised by the
Content-Length header when the connection is closed.
|
CONTEXT_SHUT_DOWN
The request failed because the URLRequestContext is shutting down, or has
been shut down.
|
CT_CONSISTENCY_PROOF_PARSING_FAILED
Certificate Transparency: Failed to parse the received consistency proof.
|
CT_STH_INCOMPLETE
Certificate Transparency: Received a signed tree head whose JSON parsing was
OK but was missing some of the fields.
|
CT_STH_PARSING_FAILED
Certificate Transparency: Received a signed tree head that failed to parse.
|
DISALLOWED_URL_SCHEME
The scheme of the URL is disallowed.
|
DNS_CACHE_MISS
The entry was not found in cache or other local sources, for lookups where
only local sources were queried.
|
DNS_MALFORMED_RESPONSE
DNS resolver received a malformed response.
|
DNS_SEARCH_EMPTY
Suffix search list rules prevent resolution of the given host name.
|
DNS_SERVER_FAILED
DNS server failed.
|
DNS_SERVER_REQUIRES_TCP
DNS server requires TCP
|
DNS_SORT_ERROR
Failed to sort addresses according to RFC3484.
|
DNS_TIMED_OUT
DNS transaction timed out.
|
EARLY_DATA_REJECTED
TLS 1.3 early data was rejected by the server.
|
EMPTY_RESPONSE
The server closed the connection without sending any data.
|
ENCODING_CONVERSION_FAILED
Converting the response to target encoding failed.
|
ENCODING_DETECTION_FAILED
Detecting the encoding of the response failed.
|
FAILED
A generic failure occurred.
|
FILE_EXISTS
The file already exists.
|
FILE_NO_SPACE
Not enough room left on the disk.
|
FILE_NOT_FOUND
The file or directory cannot be found.
|
FILE_PATH_TOO_LONG
The path or file name is too long.
|
FILE_TOO_BIG
The file is too large.
|
FILE_VIRUS_INFECTED
The file has a virus.
|
HOST_RESOLVER_QUEUE_TOO_LARGE
There are too many pending DNS resolves, so a request in the queue was
aborted.
|
HTTP_1_1_REQUIRED
HTTP_1_1_REQUIRED error code received on HTTP/2 session.
|
HTTP_RESPONSE_CODE_FAILURE
The server returned a non-2xx HTTP response code.
|
HTTP2_COMPRESSION_ERROR
Decoding or encoding of compressed HTTP/2 headers failed.
|
HTTP2_FLOW_CONTROL_ERROR
The peer violated HTTP/2 flow control.
|
HTTP2_FRAME_SIZE_ERROR
The peer sent an improperly sized HTTP/2 frame.
|
HTTP2_INADEQUATE_TRANSPORT_SECURITY
Transport security is inadequate for the HTTP/2 version.
|
HTTP2_PING_FAILED
HTTP/2 server didn't respond to the PING message.
|
HTTP2_PROTOCOL_ERROR
There is an HTTP/2 protocol error.
|
HTTP2_RST_STREAM_NO_ERROR_RECEIVED
Received HTTP/2 RST_STREAM frame with NO_ERROR error code.
|
HTTP2_SERVER_REFUSED_STREAM
HTTP/2 server refused the request without processing, and sent either a
GOAWAY frame with error code NO_ERROR and Last-Stream-ID lower than the
stream id corresponding to the request indicating that this request has not
been processed yet, or a RST_STREAM frame with error code REFUSED_STREAM.
|
HTTP2_STREAM_CLOSED
Received an HTTP/2 frame on a closed stream.
|
HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT
A request to create an SSL tunnel connection through the HTTPS proxy
received a 302 (temporary redirect) response.
|
ICANN_NAME_COLLISION
Resolving a hostname to an IP address list included the IPv4 address
"127.0.53.53".
|
IMPORT_CA_CERT_FAILED
CA import failed due to some other error.
|
IMPORT_CA_CERT_NOT_CA
CA import failed - not a CA cert.
|
IMPORT_CERT_ALREADY_EXISTS
Import failed - certificate already exists in database.
|
IMPORT_SERVER_CERT_FAILED
Server certificate import failed due to some internal error.
|
INCOMPLETE_CHUNKED_ENCODING
The HTTP response body is transferred with Chunked-Encoding, but the
terminating zero-length chunk was never sent when the connection is closed.
|
INCOMPLETE_HTTP2_HEADERS
HTTP/2 headers have been received, but not all of them - status or version
headers are missing, so we're expecting additional frames to complete them.
|
INSECURE_RESPONSE
The server's response was insecure (e.g.
|
INSUFFICIENT_RESOURCES
There were not enough resources to complete the operation.
|
INTERNET_DISCONNECTED
The Internet connection has been lost.
|
INVALID_ARGUMENT
An argument to the function is incorrect.
|
INVALID_AUTH_CREDENTIALS
Credentials could not be established during HTTP Authentication.
|
INVALID_CHUNKED_ENCODING
Error in chunked transfer encoding.
|
INVALID_HANDLE
The handle or file descriptor is invalid.
|
INVALID_HTTP_RESPONSE
The server was expected to return an HTTP/1.x response, but did not.
|
INVALID_REDIRECT
Attempting to load an URL resulted in a redirect to an invalid URL.
|
INVALID_RESPONSE
The server's response was invalid.
|
INVALID_SIGNED_EXCHANGE
An error occurred while handling a signed exchange.
|
INVALID_URL
The URL is invalid.
|
INVALID_WEB_BUNDLE
An error occurred while handling a Web Bundle source.
|
IO_PENDING
An asynchronous IO operation is not yet complete.
|
KEY_GENERATION_FAILED
Key generation failed.
|
MALFORMED_IDENTITY
The identity used for authentication is invalid.
|
MANDATORY_PROXY_CONFIGURATION_FAILED
A mandatory proxy configuration could not be used.
|
METHOD_NOT_SUPPORTED
The server did not support the request method.
|
MISCONFIGURED_AUTH_ENVIRONMENT
The environment was not set up correctly for authentication (for
example, no KDC could be found or the principal is unknown).
|
MISSING_AUTH_CREDENTIALS
(GSSAPI) No Kerberos credentials were available during HTTP Authentication.
|
MSG_TOO_BIG
The message was too large for the transport.
|
NAME_NOT_RESOLVED
The host name could not be resolved.
|
NAME_RESOLUTION_FAILED
An error occurred when trying to do a name resolution (DNS).
|
NET_ERROR_UNSPECIFIED
Reserved value.
|
NETWORK_ACCESS_DENIED
Permission to access the network was denied.
|
NETWORK_CHANGED
The network changed.
|
NETWORK_IO_SUSPENDED
An operation could not be completed because all network IO
is suspended.
|
NO_BUFFER_SPACE
No socket buffer space is available.
|
NO_PRIVATE_KEY_FOR_CERT
An attempt to import a client certificate failed, as the user's key
database lacked a corresponding private key.
|
NO_SSL_VERSIONS_ENABLED
No SSL protocol versions are enabled.
|
NO_SUPPORTED_PROXIES
There are no supported proxies in the provided list.
|
NOT_IMPLEMENTED
The operation failed because of unimplemented functionality.
|
OK
No error.
|
OUT_OF_MEMORY
Memory allocation failed.
|
PAC_NOT_IN_DHCP
No PAC URL configuration could be retrieved from DHCP.
|
PAC_SCRIPT_FAILED
The evaluation of the PAC script failed.
|
PAC_SCRIPT_TERMINATED
The PAC script terminated fatally and must be reloaded.
|
PKCS12_IMPORT_BAD_PASSWORD
PKCS #12 import failed due to incorrect password.
|
PKCS12_IMPORT_FAILED
PKCS #12 import failed due to other error.
|
PKCS12_IMPORT_INVALID_FILE
PKCS #12 import failed due to invalid/corrupt file.
|
PKCS12_IMPORT_INVALID_MAC
PKCS #12 import failed due to invalid MAC.
|
PKCS12_IMPORT_UNSUPPORTED
PKCS #12 import failed due to unsupported features.
|
PRECONNECT_MAX_SOCKET_LIMIT
We've hit the max socket limit for the socket pool while preconnecting.
|
PRIVATE_KEY_EXPORT_FAILED
Failure to export private key.
|
PROXY_AUTH_REQUESTED
The proxy requested authentication (for tunnel establishment).
|
PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION
Proxy Auth Requested without a valid Client Socket Handle.
|
PROXY_AUTH_UNSUPPORTED
The proxy requested authentication (for tunnel establishment) with an
unsupported method.
|
PROXY_CERTIFICATE_INVALID
The certificate presented by the HTTPS Proxy was invalid.
|
PROXY_CONNECTION_FAILED
Could not create a connection to the proxy server.
|
PROXY_HTTP_1_1_REQUIRED
HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy.
|
QUIC_CERT_ROOT_NOT_KNOWN
The certificate presented on a QUIC connection does not chain to a known root
and the origin connected to is not on a list of domains where unknown roots
are allowed.
|
QUIC_HANDSHAKE_FAILED
The QUIC crytpo handshake failed.
|
QUIC_PROTOCOL_ERROR
There is a QUIC protocol error.
|
READ_IF_READY_NOT_IMPLEMENTED
Socket ReadIfReady support is not implemented.
|
REQUEST_RANGE_NOT_SATISFIABLE
The response was 416 (Requested range not satisfiable) and the server cannot
satisfy the range requested.
|
RESPONSE_BODY_TOO_BIG_TO_DRAIN
The HTTP response was too big to drain.
|
RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
The HTTP response contained multiple Content-Disposition headers.
|
RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
The HTTP response contained multiple distinct Content-Length headers.
|
RESPONSE_HEADERS_MULTIPLE_LOCATION
The HTTP response contained multiple Location headers.
|
RESPONSE_HEADERS_TOO_BIG
The headers section of the response is too large.
|
RESPONSE_HEADERS_TRUNCATED
The HTTP headers were truncated by an EOF.
|
SELF_SIGNED_CERT_GENERATION_FAILED
Self-signed certificate generation failed.
|
SOCKET_IS_CONNECTED
The socket is already connected.
|
SOCKET_NOT_CONNECTED
The socket is not connected.
|
SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE
Failed to set the socket's receive buffer size as requested, despite success
return code from setsockopt.
|
SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE
Failed to set the socket's send buffer size as requested, despite success
return code from setsockopt.
|
SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR
Failed to set the socket's receive buffer size as requested.
|
SOCKET_SET_SEND_BUFFER_SIZE_ERROR
Failed to set the socket's send buffer size as requested.
|
SOCKS_CONNECTION_FAILED
Failed establishing a connection to the SOCKS proxy server for a target host.
|
SOCKS_CONNECTION_HOST_UNREACHABLE
The SOCKS proxy server failed establishing connection to the target host
because that host is unreachable.
|
SSL_BAD_PEER_PUBLIC_KEY
SSL peer's public key is invalid.
|
SSL_BAD_RECORD_MAC_ALERT
An SSL peer sent us a fatal bad_record_mac alert.
|
SSL_CLIENT_AUTH_CERT_BAD_FORMAT
Failed to import a client certificate from the platform store into the SSL
library.
|
SSL_CLIENT_AUTH_CERT_NEEDED
The server requested a client certificate for SSL client authentication.
|
SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY
The SSL client certificate has no private key.
|
SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS
There were no common signature algorithms between our client certificate
private key and the server's preferences.
|
SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED
The permission to use the SSL client certificate's private key was denied.
|
SSL_CLIENT_AUTH_SIGNATURE_FAILED
We were unable to sign the CertificateVerify data of an SSL client auth
handshake with the client certificate's private key.
|
SSL_DECOMPRESSION_FAILURE_ALERT
An SSL peer sent us a fatal decompression_failure alert.
|
SSL_DECRYPT_ERROR_ALERT
An SSL peer sent us a fatal decrypt_error alert.
|
SSL_HANDSHAKE_NOT_COMPLETED
An operation failed because the SSL handshake has not completed.
|
SSL_KEY_USAGE_INCOMPATIBLE
The server's certificate has a keyUsage extension incompatible with the
negotiated TLS key exchange method.
|
SSL_NO_RENEGOTIATION
The peer sent an SSL no_renegotiation alert message.
|
SSL_OBSOLETE_CIPHER
The SSL server required an unsupported cipher suite that has since been
removed.
|
SSL_PINNED_KEY_NOT_IN_CERT_CHAIN
The certificate didn't match the built-in public key pins for the host name.
|
SSL_PROTOCOL_ERROR
An SSL protocol error occurred.
|
SSL_RENEGOTIATION_REQUESTED
The server requested a renegotiation (rehandshake).
|
SSL_SERVER_CERT_BAD_FORMAT
The SSL server presented a certificate which could not be decoded.
|
SSL_SERVER_CERT_CHANGED
The SSL server certificate changed in a renegotiation.
|
SSL_UNRECOGNIZED_NAME_ALERT
The SSL server sent us a fatal unrecognized_name alert.
|
SSL_VERSION_OR_CIPHER_MISMATCH
The client and server don't support a common SSL protocol version or
cipher suite.
|
SYN_REPLY_NOT_RECEIVED
FLIP data received without receiving a SYN_REPLY on the stream.
|
TEMPORARILY_THROTTLED
The request throttler module cancelled this request to avoid DDOS.
|
TIMED_OUT
An operation timed out.
|
TLS13_DOWNGRADE_DETECTED
TLS 1.3 was enabled, but a lower version was negotiated and the server
returned a value indicating it supported TLS 1.3.
|
TOO_MANY_REDIRECTS
Attempting to load an URL resulted in too many redirects.
|
TOO_MANY_RETRIES
An HTTP transaction was retried too many times due for authentication or
invalid certificates.
|
TRUST_TOKEN_OPERATION_CACHE_HIT
When handling a Trust Tokens protocol operation-executing request, the system
found that the request's desired Trust Tokens results were already present in
a local cache; as a result, the main request was cancelled.
|
TRUST_TOKEN_OPERATION_FAILED
A Trust Tokens protocol operation-executing request failed for one of a
number of reasons (precondition failure, internal error, bad response).
|
TUNNEL_CONNECTION_FAILED
A tunnel connection through the proxy could not be established.
|
UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH
The attempt to reuse a connection to send proxy auth credentials failed
before the AuthController was used to generate credentials.
|
UNDOCUMENTED_SECURITY_LIBRARY_STATUS
An undocumented SSPI or GSSAPI status code was returned.
|
UNEXPECTED
An unexpected error.
|
UNEXPECTED_PROXY_AUTH
The response was 407 (Proxy Authentication Required), yet we did not send
the request to a proxy.
|
UNEXPECTED_SECURITY_LIBRARY_STATUS
An unexpected, but documented, SSPI or GSSAPI status code was returned.
|
UNKNOWN_URL_SCHEME
The scheme of the URL is unknown.
|
UNRECOGNIZED |
UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT
The server sent an FTP directory listing in a format we do not understand.
|
UNSAFE_PORT
Attempting to load an URL with an unsafe port number.
|
UNSAFE_REDIRECT
Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect
to
file:// is considered unsafe). |
UNSUPPORTED_AUTH_SCHEME
An HTTP Authentication scheme was tried which is not supported on this
machine.
|
UPLOAD_FILE_CHANGED
The file upload failed because the file's modification time was different
from the expectation.
|
UPLOAD_STREAM_REWIND_NOT_SUPPORTED
The upload failed because the upload stream needed to be re-read, due to a
retry or a redirect, but the upload stream doesn't support that operation.
|
WINSOCK_UNEXPECTED_WRITTEN_BYTES
Winsock sometimes reports more data written than passed.
|
WRONG_VERSION_ON_EARLY_DATA
TLS 1.3 early data was offered, but the server responded with TLS 1.2 or
earlier.
|
WS_PROTOCOL_ERROR
Websocket protocol error.
|
WS_THROTTLE_QUEUE_TOO_LARGE
There are too many pending WebSocketJob instances, so the new job was not
pushed to the queue.
|
WS_UPGRADE
When a WebSocket handshake is done successfully and the connection has been
upgraded, the URLRequest is cancelled with this error code.
|
Modifier and Type | Field and Description |
---|---|
static int |
ABORTED_VALUE
An operation was aborted (due to user action).
|
static int |
ACCESS_DENIED_VALUE
Permission to access a resource, other than the network, was denied.
|
static int |
ADD_USER_CERT_FAILED_VALUE
An error adding a certificate to the OS certificate database.
|
static int |
ADDRESS_IN_USE_VALUE
Returned when attempting to bind an address that is already in use.
|
static int |
ADDRESS_INVALID_VALUE
The IP address or port number is invalid (e.g., cannot connect to the IP
address 0 or the port 0).
|
static int |
ADDRESS_UNREACHABLE_VALUE
The IP address is unreachable.
|
static int |
ALPN_NEGOTIATION_FAILED_VALUE
The request to negotiate an alternate protocol failed.
|
static int |
BAD_SSL_CLIENT_AUTH_CERT_VALUE
The SSL handshake failed because of a bad or missing client certificate.
|
static int |
BLOCKED_BY_ADMINISTRATOR_VALUE
The request was blocked by the URL block list configured by the domain
administrator.
|
static int |
BLOCKED_BY_CLIENT_VALUE
The client chose to block the request.
|
static int |
BLOCKED_BY_RESPONSE_VALUE
The request failed because the response was delivered along with requirements
which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor
checks and 'Cross-Origin-Resource-Policy', for instance).
|
static int |
CACHE_AUTH_FAILURE_AFTER_READ_VALUE
Received a challenge after the transaction has read some data, and the
credentials aren't available.
|
static int |
CACHE_CHECKSUM_MISMATCH_VALUE
The cache found an entry with an invalid checksum.
|
static int |
CACHE_CHECKSUM_READ_FAILURE_VALUE
The cache was unable to read a checksum record on an entry.
|
static int |
CACHE_CREATE_FAILURE_VALUE
The disk cache is unable to create this entry.
|
static int |
CACHE_DOOM_FAILURE_VALUE
The disk cache is unable to doom this entry.
|
static int |
CACHE_ENTRY_NOT_SUITABLE_VALUE
Internal not-quite error code for the HTTP cache.
|
static int |
CACHE_LOCK_TIMEOUT_VALUE
Internal error code for the HTTP cache.
|
static int |
CACHE_MISS_VALUE
The cache does not have the requested entry.
|
static int |
CACHE_OPEN_FAILURE_VALUE
The disk cache is unable to open this entry.
|
static int |
CACHE_OPEN_OR_CREATE_FAILURE_VALUE
The disk cache is unable to open or create this entry.
|
static int |
CACHE_OPERATION_NOT_SUPPORTED_VALUE
The operation is not supported for this entry.
|
static int |
CACHE_RACE_VALUE
Multiple transactions are racing to create disk cache entries.
|
static int |
CACHE_READ_FAILURE_VALUE
Unable to read from the disk cache.
|
static int |
CACHE_WRITE_FAILURE_VALUE
Unable to write to the disk cache.
|
static int |
CERT_AUTHORITY_INVALID_VALUE
The server responded with a certificate that is signed by an authority we don't trust.
|
static int |
CERT_COMMON_NAME_INVALID_VALUE
The server responded with a certificate whose common name did not match the host name.
|
static int |
CERT_CONTAINS_ERRORS_VALUE
The server responded with a certificate that contains errors.
|
static int |
CERT_DATABASE_CHANGED_VALUE
The certificate database changed in some way.
|
static int |
CERT_DATE_INVALID_VALUE
The server responded with a certificate that, by our clock, appears to
either not yet be valid or to have expired.
|
static int |
CERT_END_VALUE
The value immediately past the last certificate error code.
|
static int |
CERT_INVALID_VALUE
The server responded with a certificate that is invalid.
|
static int |
CERT_NAME_CONSTRAINT_VIOLATION_VALUE
The certificate claimed DNS names that are in violation of name constraints.
|
static int |
CERT_NO_REVOCATION_MECHANISM_VALUE
The certificate has no mechanism for determining if it is revoked.
|
static int |
CERT_NON_UNIQUE_NAME_VALUE
The host name specified in the certificate is not unique.
|
static int |
CERT_REVOKED_VALUE
The server responded with a certificate has been revoked.
|
static int |
CERT_SYMANTEC_LEGACY_VALUE
The certificate chained to a legacy Symantec root that is no longer trusted.
|
static int |
CERT_TRANSPARENCY_REQUIRED_VALUE
Certificate Transparency was required for this connection, but the server
did not provide CT information that complied with the policy.
|
static int |
CERT_UNABLE_TO_CHECK_REVOCATION_VALUE
Revocation information for the security certificate for this site is not
available.
|
static int |
CERT_VALIDITY_TOO_LONG_VALUE
The certificate's validity period is too long.
|
static int |
CERT_WEAK_KEY_VALUE
The server responded with a certificate that contains a weak key (e.g.
|
static int |
CERT_WEAK_SIGNATURE_ALGORITHM_VALUE
The server responded with a certificate that is signed using a weak
signature algorithm.
|
static int |
CLIENT_AUTH_CERT_TYPE_UNSUPPORTED_VALUE
Server request for client certificate did not contain any types we support.
|
static int |
CONNECTION_ABORTED_VALUE
A connection timed out as a result of not receiving an ACK for data sent.
|
static int |
CONNECTION_CLOSED_VALUE
A connection was closed (corresponding to a TCP FIN).
|
static int |
CONNECTION_FAILED_VALUE
A connection attempt failed.
|
static int |
CONNECTION_REFUSED_VALUE
A connection attempt was refused.
|
static int |
CONNECTION_RESET_VALUE
A connection was reset (corresponding to a TCP RST).
|
static int |
CONNECTION_TIMED_OUT_VALUE
A connection attempt timed out.
|
static int |
CONTENT_DECODING_FAILED_VALUE
Content decoding of the response body failed.
|
static int |
CONTENT_DECODING_INIT_FAILED_VALUE
Initializing content decoding failed.
|
static int |
CONTENT_LENGTH_MISMATCH_VALUE
The HTTP response body transferred fewer bytes than were advertised by the
Content-Length header when the connection is closed.
|
static int |
CONTEXT_SHUT_DOWN_VALUE
The request failed because the URLRequestContext is shutting down, or has
been shut down.
|
static int |
CT_CONSISTENCY_PROOF_PARSING_FAILED_VALUE
Certificate Transparency: Failed to parse the received consistency proof.
|
static int |
CT_STH_INCOMPLETE_VALUE
Certificate Transparency: Received a signed tree head whose JSON parsing was
OK but was missing some of the fields.
|
static int |
CT_STH_PARSING_FAILED_VALUE
Certificate Transparency: Received a signed tree head that failed to parse.
|
static int |
DISALLOWED_URL_SCHEME_VALUE
The scheme of the URL is disallowed.
|
static int |
DNS_CACHE_MISS_VALUE
The entry was not found in cache or other local sources, for lookups where
only local sources were queried.
|
static int |
DNS_MALFORMED_RESPONSE_VALUE
DNS resolver received a malformed response.
|
static int |
DNS_SEARCH_EMPTY_VALUE
Suffix search list rules prevent resolution of the given host name.
|
static int |
DNS_SERVER_FAILED_VALUE
DNS server failed.
|
static int |
DNS_SERVER_REQUIRES_TCP_VALUE
DNS server requires TCP
|
static int |
DNS_SORT_ERROR_VALUE
Failed to sort addresses according to RFC3484.
|
static int |
DNS_TIMED_OUT_VALUE
DNS transaction timed out.
|
static int |
EARLY_DATA_REJECTED_VALUE
TLS 1.3 early data was rejected by the server.
|
static int |
EMPTY_RESPONSE_VALUE
The server closed the connection without sending any data.
|
static int |
ENCODING_CONVERSION_FAILED_VALUE
Converting the response to target encoding failed.
|
static int |
ENCODING_DETECTION_FAILED_VALUE
Detecting the encoding of the response failed.
|
static int |
FAILED_VALUE
A generic failure occurred.
|
static int |
FILE_EXISTS_VALUE
The file already exists.
|
static int |
FILE_NO_SPACE_VALUE
Not enough room left on the disk.
|
static int |
FILE_NOT_FOUND_VALUE
The file or directory cannot be found.
|
static int |
FILE_PATH_TOO_LONG_VALUE
The path or file name is too long.
|
static int |
FILE_TOO_BIG_VALUE
The file is too large.
|
static int |
FILE_VIRUS_INFECTED_VALUE
The file has a virus.
|
static int |
HOST_RESOLVER_QUEUE_TOO_LARGE_VALUE
There are too many pending DNS resolves, so a request in the queue was
aborted.
|
static int |
HTTP_1_1_REQUIRED_VALUE
HTTP_1_1_REQUIRED error code received on HTTP/2 session.
|
static int |
HTTP_RESPONSE_CODE_FAILURE_VALUE
The server returned a non-2xx HTTP response code.
|
static int |
HTTP2_COMPRESSION_ERROR_VALUE
Decoding or encoding of compressed HTTP/2 headers failed.
|
static int |
HTTP2_FLOW_CONTROL_ERROR_VALUE
The peer violated HTTP/2 flow control.
|
static int |
HTTP2_FRAME_SIZE_ERROR_VALUE
The peer sent an improperly sized HTTP/2 frame.
|
static int |
HTTP2_INADEQUATE_TRANSPORT_SECURITY_VALUE
Transport security is inadequate for the HTTP/2 version.
|
static int |
HTTP2_PING_FAILED_VALUE
HTTP/2 server didn't respond to the PING message.
|
static int |
HTTP2_PROTOCOL_ERROR_VALUE
There is an HTTP/2 protocol error.
|
static int |
HTTP2_RST_STREAM_NO_ERROR_RECEIVED_VALUE
Received HTTP/2 RST_STREAM frame with NO_ERROR error code.
|
static int |
HTTP2_SERVER_REFUSED_STREAM_VALUE
HTTP/2 server refused the request without processing, and sent either a
GOAWAY frame with error code NO_ERROR and Last-Stream-ID lower than the
stream id corresponding to the request indicating that this request has not
been processed yet, or a RST_STREAM frame with error code REFUSED_STREAM.
|
static int |
HTTP2_STREAM_CLOSED_VALUE
Received an HTTP/2 frame on a closed stream.
|
static int |
HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT_VALUE
A request to create an SSL tunnel connection through the HTTPS proxy
received a 302 (temporary redirect) response.
|
static int |
ICANN_NAME_COLLISION_VALUE
Resolving a hostname to an IP address list included the IPv4 address
"127.0.53.53".
|
static int |
IMPORT_CA_CERT_FAILED_VALUE
CA import failed due to some other error.
|
static int |
IMPORT_CA_CERT_NOT_CA_VALUE
CA import failed - not a CA cert.
|
static int |
IMPORT_CERT_ALREADY_EXISTS_VALUE
Import failed - certificate already exists in database.
|
static int |
IMPORT_SERVER_CERT_FAILED_VALUE
Server certificate import failed due to some internal error.
|
static int |
INCOMPLETE_CHUNKED_ENCODING_VALUE
The HTTP response body is transferred with Chunked-Encoding, but the
terminating zero-length chunk was never sent when the connection is closed.
|
static int |
INCOMPLETE_HTTP2_HEADERS_VALUE
HTTP/2 headers have been received, but not all of them - status or version
headers are missing, so we're expecting additional frames to complete them.
|
static int |
INSECURE_RESPONSE_VALUE
The server's response was insecure (e.g.
|
static int |
INSUFFICIENT_RESOURCES_VALUE
There were not enough resources to complete the operation.
|
static int |
INTERNET_DISCONNECTED_VALUE
The Internet connection has been lost.
|
static int |
INVALID_ARGUMENT_VALUE
An argument to the function is incorrect.
|
static int |
INVALID_AUTH_CREDENTIALS_VALUE
Credentials could not be established during HTTP Authentication.
|
static int |
INVALID_CHUNKED_ENCODING_VALUE
Error in chunked transfer encoding.
|
static int |
INVALID_HANDLE_VALUE
The handle or file descriptor is invalid.
|
static int |
INVALID_HTTP_RESPONSE_VALUE
The server was expected to return an HTTP/1.x response, but did not.
|
static int |
INVALID_REDIRECT_VALUE
Attempting to load an URL resulted in a redirect to an invalid URL.
|
static int |
INVALID_RESPONSE_VALUE
The server's response was invalid.
|
static int |
INVALID_SIGNED_EXCHANGE_VALUE
An error occurred while handling a signed exchange.
|
static int |
INVALID_URL_VALUE
The URL is invalid.
|
static int |
INVALID_WEB_BUNDLE_VALUE
An error occurred while handling a Web Bundle source.
|
static int |
IO_PENDING_VALUE
An asynchronous IO operation is not yet complete.
|
static int |
KEY_GENERATION_FAILED_VALUE
Key generation failed.
|
static int |
MALFORMED_IDENTITY_VALUE
The identity used for authentication is invalid.
|
static int |
MANDATORY_PROXY_CONFIGURATION_FAILED_VALUE
A mandatory proxy configuration could not be used.
|
static int |
METHOD_NOT_SUPPORTED_VALUE
The server did not support the request method.
|
static int |
MISCONFIGURED_AUTH_ENVIRONMENT_VALUE
The environment was not set up correctly for authentication (for
example, no KDC could be found or the principal is unknown).
|
static int |
MISSING_AUTH_CREDENTIALS_VALUE
(GSSAPI) No Kerberos credentials were available during HTTP Authentication.
|
static int |
MSG_TOO_BIG_VALUE
The message was too large for the transport.
|
static int |
NAME_NOT_RESOLVED_VALUE
The host name could not be resolved.
|
static int |
NAME_RESOLUTION_FAILED_VALUE
An error occurred when trying to do a name resolution (DNS).
|
static int |
NET_ERROR_UNSPECIFIED_VALUE
Reserved value.
|
static int |
NETWORK_ACCESS_DENIED_VALUE
Permission to access the network was denied.
|
static int |
NETWORK_CHANGED_VALUE
The network changed.
|
static int |
NETWORK_IO_SUSPENDED_VALUE
An operation could not be completed because all network IO
is suspended.
|
static int |
NO_BUFFER_SPACE_VALUE
No socket buffer space is available.
|
static int |
NO_PRIVATE_KEY_FOR_CERT_VALUE
An attempt to import a client certificate failed, as the user's key
database lacked a corresponding private key.
|
static int |
NO_SSL_VERSIONS_ENABLED_VALUE
No SSL protocol versions are enabled.
|
static int |
NO_SUPPORTED_PROXIES_VALUE
There are no supported proxies in the provided list.
|
static int |
NOT_IMPLEMENTED_VALUE
The operation failed because of unimplemented functionality.
|
static int |
OK_VALUE
No error.
|
static int |
OUT_OF_MEMORY_VALUE
Memory allocation failed.
|
static int |
PAC_NOT_IN_DHCP_VALUE
No PAC URL configuration could be retrieved from DHCP.
|
static int |
PAC_SCRIPT_FAILED_VALUE
The evaluation of the PAC script failed.
|
static int |
PAC_SCRIPT_TERMINATED_VALUE
The PAC script terminated fatally and must be reloaded.
|
static int |
PKCS12_IMPORT_BAD_PASSWORD_VALUE
PKCS #12 import failed due to incorrect password.
|
static int |
PKCS12_IMPORT_FAILED_VALUE
PKCS #12 import failed due to other error.
|
static int |
PKCS12_IMPORT_INVALID_FILE_VALUE
PKCS #12 import failed due to invalid/corrupt file.
|
static int |
PKCS12_IMPORT_INVALID_MAC_VALUE
PKCS #12 import failed due to invalid MAC.
|
static int |
PKCS12_IMPORT_UNSUPPORTED_VALUE
PKCS #12 import failed due to unsupported features.
|
static int |
PRECONNECT_MAX_SOCKET_LIMIT_VALUE
We've hit the max socket limit for the socket pool while preconnecting.
|
static int |
PRIVATE_KEY_EXPORT_FAILED_VALUE
Failure to export private key.
|
static int |
PROXY_AUTH_REQUESTED_VALUE
The proxy requested authentication (for tunnel establishment).
|
static int |
PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION_VALUE
Proxy Auth Requested without a valid Client Socket Handle.
|
static int |
PROXY_AUTH_UNSUPPORTED_VALUE
The proxy requested authentication (for tunnel establishment) with an
unsupported method.
|
static int |
PROXY_CERTIFICATE_INVALID_VALUE
The certificate presented by the HTTPS Proxy was invalid.
|
static int |
PROXY_CONNECTION_FAILED_VALUE
Could not create a connection to the proxy server.
|
static int |
PROXY_HTTP_1_1_REQUIRED_VALUE
HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy.
|
static int |
QUIC_CERT_ROOT_NOT_KNOWN_VALUE
The certificate presented on a QUIC connection does not chain to a known root
and the origin connected to is not on a list of domains where unknown roots
are allowed.
|
static int |
QUIC_HANDSHAKE_FAILED_VALUE
The QUIC crytpo handshake failed.
|
static int |
QUIC_PROTOCOL_ERROR_VALUE
There is a QUIC protocol error.
|
static int |
READ_IF_READY_NOT_IMPLEMENTED_VALUE
Socket ReadIfReady support is not implemented.
|
static int |
REQUEST_RANGE_NOT_SATISFIABLE_VALUE
The response was 416 (Requested range not satisfiable) and the server cannot
satisfy the range requested.
|
static int |
RESPONSE_BODY_TOO_BIG_TO_DRAIN_VALUE
The HTTP response was too big to drain.
|
static int |
RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION_VALUE
The HTTP response contained multiple Content-Disposition headers.
|
static int |
RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH_VALUE
The HTTP response contained multiple distinct Content-Length headers.
|
static int |
RESPONSE_HEADERS_MULTIPLE_LOCATION_VALUE
The HTTP response contained multiple Location headers.
|
static int |
RESPONSE_HEADERS_TOO_BIG_VALUE
The headers section of the response is too large.
|
static int |
RESPONSE_HEADERS_TRUNCATED_VALUE
The HTTP headers were truncated by an EOF.
|
static int |
SELF_SIGNED_CERT_GENERATION_FAILED_VALUE
Self-signed certificate generation failed.
|
static int |
SOCKET_IS_CONNECTED_VALUE
The socket is already connected.
|
static int |
SOCKET_NOT_CONNECTED_VALUE
The socket is not connected.
|
static int |
SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE_VALUE
Failed to set the socket's receive buffer size as requested, despite success
return code from setsockopt.
|
static int |
SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE_VALUE
Failed to set the socket's send buffer size as requested, despite success
return code from setsockopt.
|
static int |
SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR_VALUE
Failed to set the socket's receive buffer size as requested.
|
static int |
SOCKET_SET_SEND_BUFFER_SIZE_ERROR_VALUE
Failed to set the socket's send buffer size as requested.
|
static int |
SOCKS_CONNECTION_FAILED_VALUE
Failed establishing a connection to the SOCKS proxy server for a target host.
|
static int |
SOCKS_CONNECTION_HOST_UNREACHABLE_VALUE
The SOCKS proxy server failed establishing connection to the target host
because that host is unreachable.
|
static int |
SSL_BAD_PEER_PUBLIC_KEY_VALUE
SSL peer's public key is invalid.
|
static int |
SSL_BAD_RECORD_MAC_ALERT_VALUE
An SSL peer sent us a fatal bad_record_mac alert.
|
static int |
SSL_CLIENT_AUTH_CERT_BAD_FORMAT_VALUE
Failed to import a client certificate from the platform store into the SSL
library.
|
static int |
SSL_CLIENT_AUTH_CERT_NEEDED_VALUE
The server requested a client certificate for SSL client authentication.
|
static int |
SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY_VALUE
The SSL client certificate has no private key.
|
static int |
SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS_VALUE
There were no common signature algorithms between our client certificate
private key and the server's preferences.
|
static int |
SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED_VALUE
The permission to use the SSL client certificate's private key was denied.
|
static int |
SSL_CLIENT_AUTH_SIGNATURE_FAILED_VALUE
We were unable to sign the CertificateVerify data of an SSL client auth
handshake with the client certificate's private key.
|
static int |
SSL_DECOMPRESSION_FAILURE_ALERT_VALUE
An SSL peer sent us a fatal decompression_failure alert.
|
static int |
SSL_DECRYPT_ERROR_ALERT_VALUE
An SSL peer sent us a fatal decrypt_error alert.
|
static int |
SSL_HANDSHAKE_NOT_COMPLETED_VALUE
An operation failed because the SSL handshake has not completed.
|
static int |
SSL_KEY_USAGE_INCOMPATIBLE_VALUE
The server's certificate has a keyUsage extension incompatible with the
negotiated TLS key exchange method.
|
static int |
SSL_NO_RENEGOTIATION_VALUE
The peer sent an SSL no_renegotiation alert message.
|
static int |
SSL_OBSOLETE_CIPHER_VALUE
The SSL server required an unsupported cipher suite that has since been
removed.
|
static int |
SSL_PINNED_KEY_NOT_IN_CERT_CHAIN_VALUE
The certificate didn't match the built-in public key pins for the host name.
|
static int |
SSL_PROTOCOL_ERROR_VALUE
An SSL protocol error occurred.
|
static int |
SSL_RENEGOTIATION_REQUESTED_VALUE
The server requested a renegotiation (rehandshake).
|
static int |
SSL_SERVER_CERT_BAD_FORMAT_VALUE
The SSL server presented a certificate which could not be decoded.
|
static int |
SSL_SERVER_CERT_CHANGED_VALUE
The SSL server certificate changed in a renegotiation.
|
static int |
SSL_UNRECOGNIZED_NAME_ALERT_VALUE
The SSL server sent us a fatal unrecognized_name alert.
|
static int |
SSL_VERSION_OR_CIPHER_MISMATCH_VALUE
The client and server don't support a common SSL protocol version or
cipher suite.
|
static int |
SYN_REPLY_NOT_RECEIVED_VALUE
FLIP data received without receiving a SYN_REPLY on the stream.
|
static int |
TEMPORARILY_THROTTLED_VALUE
The request throttler module cancelled this request to avoid DDOS.
|
static int |
TIMED_OUT_VALUE
An operation timed out.
|
static int |
TLS13_DOWNGRADE_DETECTED_VALUE
TLS 1.3 was enabled, but a lower version was negotiated and the server
returned a value indicating it supported TLS 1.3.
|
static int |
TOO_MANY_REDIRECTS_VALUE
Attempting to load an URL resulted in too many redirects.
|
static int |
TOO_MANY_RETRIES_VALUE
An HTTP transaction was retried too many times due for authentication or
invalid certificates.
|
static int |
TRUST_TOKEN_OPERATION_CACHE_HIT_VALUE
When handling a Trust Tokens protocol operation-executing request, the system
found that the request's desired Trust Tokens results were already present in
a local cache; as a result, the main request was cancelled.
|
static int |
TRUST_TOKEN_OPERATION_FAILED_VALUE
A Trust Tokens protocol operation-executing request failed for one of a
number of reasons (precondition failure, internal error, bad response).
|
static int |
TUNNEL_CONNECTION_FAILED_VALUE
A tunnel connection through the proxy could not be established.
|
static int |
UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH_VALUE
The attempt to reuse a connection to send proxy auth credentials failed
before the AuthController was used to generate credentials.
|
static int |
UNDOCUMENTED_SECURITY_LIBRARY_STATUS_VALUE
An undocumented SSPI or GSSAPI status code was returned.
|
static int |
UNEXPECTED_PROXY_AUTH_VALUE
The response was 407 (Proxy Authentication Required), yet we did not send
the request to a proxy.
|
static int |
UNEXPECTED_SECURITY_LIBRARY_STATUS_VALUE
An unexpected, but documented, SSPI or GSSAPI status code was returned.
|
static int |
UNEXPECTED_VALUE
An unexpected error.
|
static int |
UNKNOWN_URL_SCHEME_VALUE
The scheme of the URL is unknown.
|
static int |
UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT_VALUE
The server sent an FTP directory listing in a format we do not understand.
|
static int |
UNSAFE_PORT_VALUE
Attempting to load an URL with an unsafe port number.
|
static int |
UNSAFE_REDIRECT_VALUE
Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect
to
file:// is considered unsafe). |
static int |
UNSUPPORTED_AUTH_SCHEME_VALUE
An HTTP Authentication scheme was tried which is not supported on this
machine.
|
static int |
UPLOAD_FILE_CHANGED_VALUE
The file upload failed because the file's modification time was different
from the expectation.
|
static int |
UPLOAD_STREAM_REWIND_NOT_SUPPORTED_VALUE
The upload failed because the upload stream needed to be re-read, due to a
retry or a redirect, but the upload stream doesn't support that operation.
|
static int |
WINSOCK_UNEXPECTED_WRITTEN_BYTES_VALUE
Winsock sometimes reports more data written than passed.
|
static int |
WRONG_VERSION_ON_EARLY_DATA_VALUE
TLS 1.3 early data was offered, but the server responded with TLS 1.2 or
earlier.
|
static int |
WS_PROTOCOL_ERROR_VALUE
Websocket protocol error.
|
static int |
WS_THROTTLE_QUEUE_TOO_LARGE_VALUE
There are too many pending WebSocketJob instances, so the new job was not
pushed to the queue.
|
static int |
WS_UPGRADE_VALUE
When a WebSocket handshake is done successfully and the connection has been
upgraded, the URLRequest is cancelled with this error code.
|
Modifier and Type | Method and Description |
---|---|
static NetError |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NetError> |
internalGetValueMap() |
static NetError |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NetError |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NetError |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NetError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetError NET_ERROR_UNSPECIFIED
public static final NetError OK
public static final NetError IO_PENDING
public static final NetError FAILED
public static final NetError ABORTED
public static final NetError INVALID_ARGUMENT
public static final NetError INVALID_HANDLE
public static final NetError FILE_NOT_FOUND
public static final NetError TIMED_OUT
public static final NetError FILE_TOO_BIG
public static final NetError UNEXPECTED
public static final NetError ACCESS_DENIED
public static final NetError NOT_IMPLEMENTED
public static final NetError INSUFFICIENT_RESOURCES
public static final NetError OUT_OF_MEMORY
public static final NetError UPLOAD_FILE_CHANGED
public static final NetError SOCKET_NOT_CONNECTED
public static final NetError FILE_EXISTS
public static final NetError FILE_PATH_TOO_LONG
public static final NetError FILE_NO_SPACE
public static final NetError FILE_VIRUS_INFECTED
public static final NetError BLOCKED_BY_CLIENT
public static final NetError NETWORK_CHANGED
public static final NetError BLOCKED_BY_ADMINISTRATOR
public static final NetError SOCKET_IS_CONNECTED
public static final NetError UPLOAD_STREAM_REWIND_NOT_SUPPORTED
public static final NetError CONTEXT_SHUT_DOWN
public static final NetError BLOCKED_BY_RESPONSE
public static final NetError CONNECTION_CLOSED
public static final NetError CONNECTION_RESET
public static final NetError CONNECTION_REFUSED
public static final NetError CONNECTION_ABORTED
public static final NetError CONNECTION_FAILED
public static final NetError NAME_NOT_RESOLVED
public static final NetError INTERNET_DISCONNECTED
public static final NetError SSL_PROTOCOL_ERROR
public static final NetError ADDRESS_INVALID
public static final NetError ADDRESS_UNREACHABLE
public static final NetError SSL_CLIENT_AUTH_CERT_NEEDED
public static final NetError TUNNEL_CONNECTION_FAILED
public static final NetError NO_SSL_VERSIONS_ENABLED
public static final NetError SSL_VERSION_OR_CIPHER_MISMATCH
public static final NetError SSL_RENEGOTIATION_REQUESTED
public static final NetError PROXY_AUTH_UNSUPPORTED
public static final NetError BAD_SSL_CLIENT_AUTH_CERT
public static final NetError CONNECTION_TIMED_OUT
public static final NetError HOST_RESOLVER_QUEUE_TOO_LARGE
public static final NetError SOCKS_CONNECTION_FAILED
public static final NetError SOCKS_CONNECTION_HOST_UNREACHABLE
public static final NetError ALPN_NEGOTIATION_FAILED
public static final NetError SSL_NO_RENEGOTIATION
public static final NetError WINSOCK_UNEXPECTED_WRITTEN_BYTES
public static final NetError SSL_DECOMPRESSION_FAILURE_ALERT
public static final NetError SSL_BAD_RECORD_MAC_ALERT
public static final NetError PROXY_AUTH_REQUESTED
public static final NetError PROXY_CONNECTION_FAILED
public static final NetError MANDATORY_PROXY_CONFIGURATION_FAILED
public static final NetError PRECONNECT_MAX_SOCKET_LIMIT
public static final NetError SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED
public static final NetError SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY
public static final NetError PROXY_CERTIFICATE_INVALID
public static final NetError NAME_RESOLUTION_FAILED
public static final NetError NETWORK_ACCESS_DENIED
public static final NetError TEMPORARILY_THROTTLED
public static final NetError HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT
public static final NetError SSL_CLIENT_AUTH_SIGNATURE_FAILED
Possible causes for this include the user implicitly or explicitly denying access to the private key, the private key may not be valid for signing, the key may be relying on a cached handle which is no longer valid, or the CSP won't allow arbitrary data to be signed.
public static final NetError MSG_TOO_BIG
public static final NetError WS_PROTOCOL_ERROR
public static final NetError ADDRESS_IN_USE
public static final NetError SSL_HANDSHAKE_NOT_COMPLETED
public static final NetError SSL_BAD_PEER_PUBLIC_KEY
public static final NetError SSL_PINNED_KEY_NOT_IN_CERT_CHAIN
public static final NetError CLIENT_AUTH_CERT_TYPE_UNSUPPORTED
public static final NetError SSL_DECRYPT_ERROR_ALERT
public static final NetError WS_THROTTLE_QUEUE_TOO_LARGE
public static final NetError SSL_SERVER_CERT_CHANGED
public static final NetError SSL_UNRECOGNIZED_NAME_ALERT
public static final NetError SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR
public static final NetError SOCKET_SET_SEND_BUFFER_SIZE_ERROR
public static final NetError SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE
public static final NetError SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE
public static final NetError SSL_CLIENT_AUTH_CERT_BAD_FORMAT
public static final NetError ICANN_NAME_COLLISION
public static final NetError SSL_SERVER_CERT_BAD_FORMAT
public static final NetError CT_STH_PARSING_FAILED
public static final NetError CT_STH_INCOMPLETE
public static final NetError UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH
public static final NetError CT_CONSISTENCY_PROOF_PARSING_FAILED
public static final NetError SSL_OBSOLETE_CIPHER
public static final NetError WS_UPGRADE
public static final NetError READ_IF_READY_NOT_IMPLEMENTED
public static final NetError NO_BUFFER_SPACE
public static final NetError SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS
public static final NetError EARLY_DATA_REJECTED
public static final NetError WRONG_VERSION_ON_EARLY_DATA
See https://tools.ietf.org/html/rfc8446#appendix-D.3 for details.
public static final NetError TLS13_DOWNGRADE_DETECTED
public static final NetError SSL_KEY_USAGE_INCOMPATIBLE
public static final NetError CERT_COMMON_NAME_INVALID
public static final NetError CERT_DATE_INVALID
public static final NetError CERT_AUTHORITY_INVALID
public static final NetError CERT_CONTAINS_ERRORS
MSDN describes this error as follows: "The SSL certificate contains errors."
NOTE: It's unclear how this differs from ERR_CERT_INVALID. For consistency, use that code instead of this one from now on.
public static final NetError CERT_NO_REVOCATION_MECHANISM
public static final NetError CERT_UNABLE_TO_CHECK_REVOCATION
public static final NetError CERT_REVOKED
public static final NetError CERT_INVALID
MSDN describes this error as follows: "The SSL certificate is invalid."
public static final NetError CERT_WEAK_SIGNATURE_ALGORITHM
public static final NetError CERT_NON_UNIQUE_NAME
public static final NetError CERT_WEAK_KEY
public static final NetError CERT_NAME_CONSTRAINT_VIOLATION
public static final NetError CERT_VALIDITY_TOO_LONG
public static final NetError CERT_TRANSPARENCY_REQUIRED
public static final NetError CERT_SYMANTEC_LEGACY
public static final NetError CERT_END
public static final NetError INVALID_URL
public static final NetError DISALLOWED_URL_SCHEME
public static final NetError UNKNOWN_URL_SCHEME
public static final NetError INVALID_REDIRECT
public static final NetError TOO_MANY_REDIRECTS
public static final NetError UNSAFE_REDIRECT
file://
is considered unsafe).
public static final NetError UNSAFE_PORT
public static final NetError INVALID_RESPONSE
public static final NetError INVALID_CHUNKED_ENCODING
public static final NetError METHOD_NOT_SUPPORTED
public static final NetError UNEXPECTED_PROXY_AUTH
public static final NetError EMPTY_RESPONSE
public static final NetError RESPONSE_HEADERS_TOO_BIG
public static final NetError PAC_SCRIPT_FAILED
public static final NetError REQUEST_RANGE_NOT_SATISFIABLE
public static final NetError MALFORMED_IDENTITY
public static final NetError CONTENT_DECODING_FAILED
public static final NetError NETWORK_IO_SUSPENDED
public static final NetError SYN_REPLY_NOT_RECEIVED
public static final NetError ENCODING_CONVERSION_FAILED
public static final NetError UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT
public static final NetError NO_SUPPORTED_PROXIES
public static final NetError HTTP2_PROTOCOL_ERROR
public static final NetError INVALID_AUTH_CREDENTIALS
public static final NetError UNSUPPORTED_AUTH_SCHEME
public static final NetError ENCODING_DETECTION_FAILED
public static final NetError MISSING_AUTH_CREDENTIALS
public static final NetError UNEXPECTED_SECURITY_LIBRARY_STATUS
public static final NetError MISCONFIGURED_AUTH_ENVIRONMENT
public static final NetError UNDOCUMENTED_SECURITY_LIBRARY_STATUS
public static final NetError RESPONSE_BODY_TOO_BIG_TO_DRAIN
public static final NetError RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
public static final NetError INCOMPLETE_HTTP2_HEADERS
public static final NetError PAC_NOT_IN_DHCP
public static final NetError RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
public static final NetError RESPONSE_HEADERS_MULTIPLE_LOCATION
public static final NetError HTTP2_SERVER_REFUSED_STREAM
public static final NetError HTTP2_PING_FAILED
public static final NetError CONTENT_LENGTH_MISMATCH
public static final NetError INCOMPLETE_CHUNKED_ENCODING
public static final NetError QUIC_PROTOCOL_ERROR
public static final NetError RESPONSE_HEADERS_TRUNCATED
public static final NetError QUIC_HANDSHAKE_FAILED
public static final NetError HTTP2_INADEQUATE_TRANSPORT_SECURITY
public static final NetError HTTP2_FLOW_CONTROL_ERROR
public static final NetError HTTP2_FRAME_SIZE_ERROR
public static final NetError HTTP2_COMPRESSION_ERROR
public static final NetError PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION
public static final NetError HTTP_1_1_REQUIRED
public static final NetError PROXY_HTTP_1_1_REQUIRED
public static final NetError PAC_SCRIPT_TERMINATED
public static final NetError INVALID_HTTP_RESPONSE
public static final NetError CONTENT_DECODING_INIT_FAILED
public static final NetError HTTP2_RST_STREAM_NO_ERROR_RECEIVED
public static final NetError TOO_MANY_RETRIES
public static final NetError HTTP2_STREAM_CLOSED
public static final NetError HTTP_RESPONSE_CODE_FAILURE
Not that this error is only used by certain APIs that interpret the HTTP response itself. URLRequest for instance just passes most non-2xx response back as success.
public static final NetError QUIC_CERT_ROOT_NOT_KNOWN
public static final NetError CACHE_MISS
public static final NetError CACHE_READ_FAILURE
public static final NetError CACHE_WRITE_FAILURE
public static final NetError CACHE_OPERATION_NOT_SUPPORTED
public static final NetError CACHE_OPEN_FAILURE
public static final NetError CACHE_CREATE_FAILURE
public static final NetError CACHE_RACE
public static final NetError CACHE_CHECKSUM_READ_FAILURE
public static final NetError CACHE_CHECKSUM_MISMATCH
public static final NetError CACHE_LOCK_TIMEOUT
public static final NetError CACHE_AUTH_FAILURE_AFTER_READ
public static final NetError CACHE_ENTRY_NOT_SUITABLE
public static final NetError CACHE_DOOM_FAILURE
public static final NetError CACHE_OPEN_OR_CREATE_FAILURE
public static final NetError INSECURE_RESPONSE
public static final NetError NO_PRIVATE_KEY_FOR_CERT
public static final NetError ADD_USER_CERT_FAILED
public static final NetError INVALID_SIGNED_EXCHANGE
public static final NetError INVALID_WEB_BUNDLE
public static final NetError TRUST_TOKEN_OPERATION_FAILED
public static final NetError TRUST_TOKEN_OPERATION_CACHE_HIT
public static final NetError PKCS12_IMPORT_BAD_PASSWORD
public static final NetError PKCS12_IMPORT_FAILED
public static final NetError IMPORT_CA_CERT_NOT_CA
public static final NetError IMPORT_CERT_ALREADY_EXISTS
public static final NetError IMPORT_CA_CERT_FAILED
public static final NetError IMPORT_SERVER_CERT_FAILED
public static final NetError PKCS12_IMPORT_INVALID_MAC
public static final NetError PKCS12_IMPORT_INVALID_FILE
public static final NetError PKCS12_IMPORT_UNSUPPORTED
public static final NetError KEY_GENERATION_FAILED
public static final NetError PRIVATE_KEY_EXPORT_FAILED
public static final NetError SELF_SIGNED_CERT_GENERATION_FAILED
public static final NetError CERT_DATABASE_CHANGED
public static final NetError DNS_MALFORMED_RESPONSE
public static final NetError DNS_SERVER_REQUIRES_TCP
public static final NetError DNS_SERVER_FAILED
public static final NetError DNS_TIMED_OUT
public static final NetError DNS_CACHE_MISS
public static final NetError DNS_SEARCH_EMPTY
public static final NetError DNS_SORT_ERROR
public static final NetError UNRECOGNIZED
public static final int NET_ERROR_UNSPECIFIED_VALUE
public static final int OK_VALUE
public static final int IO_PENDING_VALUE
public static final int FAILED_VALUE
public static final int ABORTED_VALUE
public static final int INVALID_ARGUMENT_VALUE
public static final int INVALID_HANDLE_VALUE
public static final int FILE_NOT_FOUND_VALUE
public static final int TIMED_OUT_VALUE
public static final int FILE_TOO_BIG_VALUE
public static final int UNEXPECTED_VALUE
public static final int ACCESS_DENIED_VALUE
public static final int NOT_IMPLEMENTED_VALUE
public static final int INSUFFICIENT_RESOURCES_VALUE
public static final int OUT_OF_MEMORY_VALUE
public static final int UPLOAD_FILE_CHANGED_VALUE
public static final int SOCKET_NOT_CONNECTED_VALUE
public static final int FILE_EXISTS_VALUE
public static final int FILE_PATH_TOO_LONG_VALUE
public static final int FILE_NO_SPACE_VALUE
public static final int FILE_VIRUS_INFECTED_VALUE
public static final int BLOCKED_BY_CLIENT_VALUE
public static final int NETWORK_CHANGED_VALUE
public static final int BLOCKED_BY_ADMINISTRATOR_VALUE
public static final int SOCKET_IS_CONNECTED_VALUE
public static final int UPLOAD_STREAM_REWIND_NOT_SUPPORTED_VALUE
public static final int CONTEXT_SHUT_DOWN_VALUE
public static final int BLOCKED_BY_RESPONSE_VALUE
public static final int CONNECTION_CLOSED_VALUE
public static final int CONNECTION_RESET_VALUE
public static final int CONNECTION_REFUSED_VALUE
public static final int CONNECTION_ABORTED_VALUE
public static final int CONNECTION_FAILED_VALUE
public static final int NAME_NOT_RESOLVED_VALUE
public static final int INTERNET_DISCONNECTED_VALUE
public static final int SSL_PROTOCOL_ERROR_VALUE
public static final int ADDRESS_INVALID_VALUE
public static final int ADDRESS_UNREACHABLE_VALUE
public static final int SSL_CLIENT_AUTH_CERT_NEEDED_VALUE
public static final int TUNNEL_CONNECTION_FAILED_VALUE
public static final int NO_SSL_VERSIONS_ENABLED_VALUE
public static final int SSL_VERSION_OR_CIPHER_MISMATCH_VALUE
public static final int SSL_RENEGOTIATION_REQUESTED_VALUE
public static final int PROXY_AUTH_UNSUPPORTED_VALUE
public static final int BAD_SSL_CLIENT_AUTH_CERT_VALUE
public static final int CONNECTION_TIMED_OUT_VALUE
public static final int HOST_RESOLVER_QUEUE_TOO_LARGE_VALUE
public static final int SOCKS_CONNECTION_FAILED_VALUE
public static final int SOCKS_CONNECTION_HOST_UNREACHABLE_VALUE
public static final int ALPN_NEGOTIATION_FAILED_VALUE
public static final int SSL_NO_RENEGOTIATION_VALUE
public static final int WINSOCK_UNEXPECTED_WRITTEN_BYTES_VALUE
public static final int SSL_DECOMPRESSION_FAILURE_ALERT_VALUE
public static final int SSL_BAD_RECORD_MAC_ALERT_VALUE
public static final int PROXY_AUTH_REQUESTED_VALUE
public static final int PROXY_CONNECTION_FAILED_VALUE
public static final int MANDATORY_PROXY_CONFIGURATION_FAILED_VALUE
public static final int PRECONNECT_MAX_SOCKET_LIMIT_VALUE
public static final int SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED_VALUE
public static final int SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY_VALUE
public static final int PROXY_CERTIFICATE_INVALID_VALUE
public static final int NAME_RESOLUTION_FAILED_VALUE
public static final int NETWORK_ACCESS_DENIED_VALUE
public static final int TEMPORARILY_THROTTLED_VALUE
public static final int HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT_VALUE
public static final int SSL_CLIENT_AUTH_SIGNATURE_FAILED_VALUE
Possible causes for this include the user implicitly or explicitly denying access to the private key, the private key may not be valid for signing, the key may be relying on a cached handle which is no longer valid, or the CSP won't allow arbitrary data to be signed.
public static final int MSG_TOO_BIG_VALUE
public static final int WS_PROTOCOL_ERROR_VALUE
public static final int ADDRESS_IN_USE_VALUE
public static final int SSL_HANDSHAKE_NOT_COMPLETED_VALUE
public static final int SSL_BAD_PEER_PUBLIC_KEY_VALUE
public static final int SSL_PINNED_KEY_NOT_IN_CERT_CHAIN_VALUE
public static final int CLIENT_AUTH_CERT_TYPE_UNSUPPORTED_VALUE
public static final int SSL_DECRYPT_ERROR_ALERT_VALUE
public static final int WS_THROTTLE_QUEUE_TOO_LARGE_VALUE
public static final int SSL_SERVER_CERT_CHANGED_VALUE
public static final int SSL_UNRECOGNIZED_NAME_ALERT_VALUE
public static final int SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR_VALUE
public static final int SOCKET_SET_SEND_BUFFER_SIZE_ERROR_VALUE
public static final int SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE_VALUE
public static final int SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE_VALUE
public static final int SSL_CLIENT_AUTH_CERT_BAD_FORMAT_VALUE
public static final int ICANN_NAME_COLLISION_VALUE
public static final int SSL_SERVER_CERT_BAD_FORMAT_VALUE
public static final int CT_STH_PARSING_FAILED_VALUE
public static final int CT_STH_INCOMPLETE_VALUE
public static final int UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH_VALUE
public static final int CT_CONSISTENCY_PROOF_PARSING_FAILED_VALUE
public static final int SSL_OBSOLETE_CIPHER_VALUE
public static final int WS_UPGRADE_VALUE
public static final int READ_IF_READY_NOT_IMPLEMENTED_VALUE
public static final int NO_BUFFER_SPACE_VALUE
public static final int SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS_VALUE
public static final int EARLY_DATA_REJECTED_VALUE
public static final int WRONG_VERSION_ON_EARLY_DATA_VALUE
See https://tools.ietf.org/html/rfc8446#appendix-D.3 for details.
public static final int TLS13_DOWNGRADE_DETECTED_VALUE
public static final int SSL_KEY_USAGE_INCOMPATIBLE_VALUE
public static final int CERT_COMMON_NAME_INVALID_VALUE
public static final int CERT_DATE_INVALID_VALUE
public static final int CERT_AUTHORITY_INVALID_VALUE
public static final int CERT_CONTAINS_ERRORS_VALUE
MSDN describes this error as follows: "The SSL certificate contains errors."
NOTE: It's unclear how this differs from ERR_CERT_INVALID. For consistency, use that code instead of this one from now on.
public static final int CERT_NO_REVOCATION_MECHANISM_VALUE
public static final int CERT_UNABLE_TO_CHECK_REVOCATION_VALUE
public static final int CERT_REVOKED_VALUE
public static final int CERT_INVALID_VALUE
MSDN describes this error as follows: "The SSL certificate is invalid."
public static final int CERT_WEAK_SIGNATURE_ALGORITHM_VALUE
public static final int CERT_NON_UNIQUE_NAME_VALUE
public static final int CERT_WEAK_KEY_VALUE
public static final int CERT_NAME_CONSTRAINT_VIOLATION_VALUE
public static final int CERT_VALIDITY_TOO_LONG_VALUE
public static final int CERT_TRANSPARENCY_REQUIRED_VALUE
public static final int CERT_SYMANTEC_LEGACY_VALUE
public static final int CERT_END_VALUE
public static final int INVALID_URL_VALUE
public static final int DISALLOWED_URL_SCHEME_VALUE
public static final int UNKNOWN_URL_SCHEME_VALUE
public static final int INVALID_REDIRECT_VALUE
public static final int TOO_MANY_REDIRECTS_VALUE
public static final int UNSAFE_REDIRECT_VALUE
file://
is considered unsafe).
public static final int UNSAFE_PORT_VALUE
public static final int INVALID_RESPONSE_VALUE
public static final int INVALID_CHUNKED_ENCODING_VALUE
public static final int METHOD_NOT_SUPPORTED_VALUE
public static final int UNEXPECTED_PROXY_AUTH_VALUE
public static final int EMPTY_RESPONSE_VALUE
public static final int RESPONSE_HEADERS_TOO_BIG_VALUE
public static final int PAC_SCRIPT_FAILED_VALUE
public static final int REQUEST_RANGE_NOT_SATISFIABLE_VALUE
public static final int MALFORMED_IDENTITY_VALUE
public static final int CONTENT_DECODING_FAILED_VALUE
public static final int NETWORK_IO_SUSPENDED_VALUE
public static final int SYN_REPLY_NOT_RECEIVED_VALUE
public static final int ENCODING_CONVERSION_FAILED_VALUE
public static final int UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT_VALUE
public static final int NO_SUPPORTED_PROXIES_VALUE
public static final int HTTP2_PROTOCOL_ERROR_VALUE
public static final int INVALID_AUTH_CREDENTIALS_VALUE
public static final int UNSUPPORTED_AUTH_SCHEME_VALUE
public static final int ENCODING_DETECTION_FAILED_VALUE
public static final int MISSING_AUTH_CREDENTIALS_VALUE
public static final int UNEXPECTED_SECURITY_LIBRARY_STATUS_VALUE
public static final int MISCONFIGURED_AUTH_ENVIRONMENT_VALUE
public static final int UNDOCUMENTED_SECURITY_LIBRARY_STATUS_VALUE
public static final int RESPONSE_BODY_TOO_BIG_TO_DRAIN_VALUE
public static final int RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH_VALUE
public static final int INCOMPLETE_HTTP2_HEADERS_VALUE
public static final int PAC_NOT_IN_DHCP_VALUE
public static final int RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION_VALUE
public static final int RESPONSE_HEADERS_MULTIPLE_LOCATION_VALUE
public static final int HTTP2_SERVER_REFUSED_STREAM_VALUE
public static final int HTTP2_PING_FAILED_VALUE
public static final int CONTENT_LENGTH_MISMATCH_VALUE
public static final int INCOMPLETE_CHUNKED_ENCODING_VALUE
public static final int QUIC_PROTOCOL_ERROR_VALUE
public static final int RESPONSE_HEADERS_TRUNCATED_VALUE
public static final int QUIC_HANDSHAKE_FAILED_VALUE
public static final int HTTP2_INADEQUATE_TRANSPORT_SECURITY_VALUE
public static final int HTTP2_FLOW_CONTROL_ERROR_VALUE
public static final int HTTP2_FRAME_SIZE_ERROR_VALUE
public static final int HTTP2_COMPRESSION_ERROR_VALUE
public static final int PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION_VALUE
public static final int HTTP_1_1_REQUIRED_VALUE
public static final int PROXY_HTTP_1_1_REQUIRED_VALUE
public static final int PAC_SCRIPT_TERMINATED_VALUE
public static final int INVALID_HTTP_RESPONSE_VALUE
public static final int CONTENT_DECODING_INIT_FAILED_VALUE
public static final int HTTP2_RST_STREAM_NO_ERROR_RECEIVED_VALUE
public static final int TOO_MANY_RETRIES_VALUE
public static final int HTTP2_STREAM_CLOSED_VALUE
public static final int HTTP_RESPONSE_CODE_FAILURE_VALUE
Not that this error is only used by certain APIs that interpret the HTTP response itself. URLRequest for instance just passes most non-2xx response back as success.
public static final int QUIC_CERT_ROOT_NOT_KNOWN_VALUE
public static final int CACHE_MISS_VALUE
public static final int CACHE_READ_FAILURE_VALUE
public static final int CACHE_WRITE_FAILURE_VALUE
public static final int CACHE_OPERATION_NOT_SUPPORTED_VALUE
public static final int CACHE_OPEN_FAILURE_VALUE
public static final int CACHE_CREATE_FAILURE_VALUE
public static final int CACHE_RACE_VALUE
public static final int CACHE_CHECKSUM_READ_FAILURE_VALUE
public static final int CACHE_CHECKSUM_MISMATCH_VALUE
public static final int CACHE_LOCK_TIMEOUT_VALUE
public static final int CACHE_AUTH_FAILURE_AFTER_READ_VALUE
public static final int CACHE_ENTRY_NOT_SUITABLE_VALUE
public static final int CACHE_DOOM_FAILURE_VALUE
public static final int CACHE_OPEN_OR_CREATE_FAILURE_VALUE
public static final int INSECURE_RESPONSE_VALUE
public static final int NO_PRIVATE_KEY_FOR_CERT_VALUE
public static final int ADD_USER_CERT_FAILED_VALUE
public static final int INVALID_SIGNED_EXCHANGE_VALUE
public static final int INVALID_WEB_BUNDLE_VALUE
public static final int TRUST_TOKEN_OPERATION_FAILED_VALUE
public static final int TRUST_TOKEN_OPERATION_CACHE_HIT_VALUE
public static final int PKCS12_IMPORT_BAD_PASSWORD_VALUE
public static final int PKCS12_IMPORT_FAILED_VALUE
public static final int IMPORT_CA_CERT_NOT_CA_VALUE
public static final int IMPORT_CERT_ALREADY_EXISTS_VALUE
public static final int IMPORT_CA_CERT_FAILED_VALUE
public static final int IMPORT_SERVER_CERT_FAILED_VALUE
public static final int PKCS12_IMPORT_INVALID_MAC_VALUE
public static final int PKCS12_IMPORT_INVALID_FILE_VALUE
public static final int PKCS12_IMPORT_UNSUPPORTED_VALUE
public static final int KEY_GENERATION_FAILED_VALUE
public static final int PRIVATE_KEY_EXPORT_FAILED_VALUE
public static final int SELF_SIGNED_CERT_GENERATION_FAILED_VALUE
public static final int CERT_DATABASE_CHANGED_VALUE
public static final int DNS_MALFORMED_RESPONSE_VALUE
public static final int DNS_SERVER_REQUIRES_TCP_VALUE
public static final int DNS_SERVER_FAILED_VALUE
public static final int DNS_TIMED_OUT_VALUE
public static final int DNS_CACHE_MISS_VALUE
public static final int DNS_SEARCH_EMPTY_VALUE
public static final int DNS_SORT_ERROR_VALUE
public static NetError[] values()
for (NetError c : NetError.values()) System.out.println(c);
public static NetError valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static NetError valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static NetError forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NetError> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NetError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)