Enum Class NetError
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<NetError>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn operation was aborted (due to user action).Permission to access a resource, other than the network, was denied.An error adding a certificate to the OS certificate database.Returned when attempting to bind an address that is already in use.The IP address or port number is invalid (e.g., cannot connect to the IP address 0 or the port 0).The IP address is unreachable.The request to negotiate an alternate protocol failed.The SSL handshake failed because of a bad or missing client certificate.The request was blocked by the URL block list configured by the domain administrator.The client chose to block the request.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).Received a challenge after the transaction has read some data, and the credentials aren't available.The cache found an entry with an invalid checksum.The cache was unable to read a checksum record on an entry.The disk cache is unable to create this entry.The disk cache is unable to doom this entry.Internal not-quite error code for the HTTP cache.Internal error code for the HTTP cache.The cache does not have the requested entry.The disk cache is unable to open this entry.The disk cache is unable to open or create this entry.The operation is not supported for this entry.Multiple transactions are racing to create disk cache entries.Unable to read from the disk cache.Unable to write to the disk cache.The server responded with a certificate that is signed by an authority we don't trust.The server responded with a certificate whose common name did not match the host name.The server responded with a certificate that contains errors.The certificate database changed in some way.The server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired.The value immediately past the last certificate error code.The server responded with a certificate that is invalid.The certificate claimed DNS names that are in violation of name constraints.The certificate has no mechanism for determining if it is revoked.The host name specified in the certificate is not unique.The server responded with a certificate has been revoked.The certificate chained to a legacy Symantec root that is no longer trusted.Certificate Transparency was required for this connection, but the server did not provide CT information that complied with the policy.Revocation information for the security certificate for this site is not available.The certificate's validity period is too long.The server responded with a certificate that contains a weak key (e.g.The server responded with a certificate that is signed using a weak signature algorithm.Server request for client certificate did not contain any types we support.A connection timed out as a result of not receiving an ACK for data sent.A connection was closed (corresponding to a TCP FIN).A connection attempt failed.A connection attempt was refused.A connection was reset (corresponding to a TCP RST).A connection attempt timed out.Content decoding of the response body failed.Initializing content decoding failed.The HTTP response body transferred fewer bytes than were advertised by the Content-Length header when the connection is closed.The request failed because the URLRequestContext is shutting down, or has been shut down.Certificate Transparency: Failed to parse the received consistency proof.Certificate Transparency: Received a signed tree head whose JSON parsing was OK but was missing some of the fields.Certificate Transparency: Received a signed tree head that failed to parse.The scheme of the URL is disallowed.The entry was not found in cache or other local sources, for lookups where only local sources were queried.DNS resolver received a malformed response.Suffix search list rules prevent resolution of the given host name.DNS server failed.DNS server requires TCPFailed to sort addresses according to RFC3484.DNS transaction timed out.TLS 1.3 early data was rejected by the server.The server closed the connection without sending any data.Converting the response to target encoding failed.Detecting the encoding of the response failed.A generic failure occurred.The file already exists.Not enough room left on the disk.The file or directory cannot be found.The path or file name is too long.The file is too large.The file has a virus.Server rejected our command because we didn't issue the commands in right order.Server does not support the command we issued.A generic error for failed FTP control connection command.The file is busy, or some other temporary error condition on opening the file.The server cannot fulfill the request at this point.Server rejected our command because of syntax errors.The server has aborted the transfer.There are too many pending DNS resolves, so a request in the queue was aborted.HTTP_1_1_REQUIRED error code received on HTTP/2 session.The server returned a non-2xx HTTP response code.Decoding or encoding of compressed HTTP/2 headers failed.The peer violated HTTP/2 flow control.The peer sent an improperly sized HTTP/2 frame.Transport security is inadequate for the HTTP/2 version.HTTP/2 server didn't respond to the PING message.There is an HTTP/2 protocol error.Received HTTP/2 RST_STREAM frame with NO_ERROR error code.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.Received an HTTP/2 frame on a closed stream.A request to create an SSL tunnel connection through the HTTPS proxy received a 302 (temporary redirect) response.Resolving a hostname to an IP address list included the IPv4 address "127.0.53.53".CA import failed due to some other error.CA import failed - not a CA cert.Import failed - certificate already exists in database.Server certificate import failed due to some internal error.The HTTP response body is transferred with Chunked-Encoding, but the terminating zero-length chunk was never sent when the connection is closed.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.The server's response was insecure (e.g.There were not enough resources to complete the operation.The Internet connection has been lost.An argument to the function is incorrect.Credentials could not be established during HTTP Authentication.Error in chunked transfer encoding.The handle or file descriptor is invalid.The server was expected to return an HTTP/1.x response, but did not.Attempting to load an URL resulted in a redirect to an invalid URL.The server's response was invalid.An error occurred while handling a signed exchange.The URL is invalid.An error occurred while handling a Web Bundle source.An asynchronous IO operation is not yet complete.Key generation failed.The identity used for authentication is invalid.A mandatory proxy configuration could not be used.The server did not support the request method.The environment was not set up correctly for authentication (for example, no KDC could be found or the principal is unknown).(GSSAPI) No Kerberos credentials were available during HTTP Authentication.The message was too large for the transport.The host name could not be resolved.An error occurred when trying to do a name resolution (DNS).Reserved value.Permission to access the network was denied.The network changed.An operation could not be completed because all network IO is suspended.No socket buffer space is available.An attempt to import a client certificate failed, as the user's key database lacked a corresponding private key.No SSL protocol versions are enabled.There are no supported proxies in the provided list.The operation failed because of unimplemented functionality.No error.Memory allocation failed.No PAC URL configuration could be retrieved from DHCP.The evaluation of the PAC script failed.The PAC script terminated fatally and must be reloaded.PKCS #12 import failed due to incorrect password.PKCS #12 import failed due to other error.PKCS #12 import failed due to invalid/corrupt file.PKCS #12 import failed due to invalid MAC.PKCS #12 import failed due to unsupported features.We've hit the max socket limit for the socket pool while preconnecting.Failure to export private key.The proxy requested authentication (for tunnel establishment).Proxy Auth Requested without a valid Client Socket Handle.The proxy requested authentication (for tunnel establishment) with an unsupported method.The certificate presented by the HTTPS Proxy was invalid.Could not create a connection to the proxy server.HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy.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.The QUIC crytpo handshake failed.There is a QUIC protocol error.Socket ReadIfReady support is not implemented.The response was 416 (Requested range not satisfiable) and the server cannot satisfy the range requested.The HTTP response was too big to drain.The HTTP response contained multiple Content-Disposition headers.The HTTP response contained multiple distinct Content-Length headers.The HTTP response contained multiple Location headers.The headers section of the response is too large.The HTTP headers were truncated by an EOF.Self-signed certificate generation failed.The socket is already connected.The socket is not connected.Failed to set the socket's receive buffer size as requested, despite success return code from setsockopt.Failed to set the socket's send buffer size as requested, despite success return code from setsockopt.Failed to set the socket's receive buffer size as requested.Failed to set the socket's send buffer size as requested.Failed establishing a connection to the SOCKS proxy server for a target host.The SOCKS proxy server failed establishing connection to the target host because that host is unreachable.SSL peer's public key is invalid.An SSL peer sent us a fatal bad_record_mac alert.Failed to import a client certificate from the platform store into the SSL library.The server requested a client certificate for SSL client authentication.The SSL client certificate has no private key.There were no common signature algorithms between our client certificate private key and the server's preferences.The permission to use the SSL client certificate's private key was denied.We were unable to sign the CertificateVerify data of an SSL client auth handshake with the client certificate's private key.An SSL peer sent us a fatal decompression_failure alert.An SSL peer sent us a fatal decrypt_error alert.An operation failed because the SSL handshake has not completed.The server's certificate has a keyUsage extension incompatible with the negotiated TLS key exchange method.The peer sent an SSL no_renegotiation alert message.The SSL server required an unsupported cipher suite that has since been removed.The certificate didn't match the built-in public key pins for the host name.An SSL protocol error occurred.The server requested a renegotiation (rehandshake).The SSL server presented a certificate which could not be decoded.The SSL server certificate changed in a renegotiation.The SSL server sent us a fatal unrecognized_name alert.The client and server don't support a common SSL protocol version or cipher suite.FLIP data received without receiving a SYN_REPLY on the stream.The request throttler module cancelled this request to avoid DDOS.An operation timed out.TLS 1.3 was enabled, but a lower version was negotiated and the server returned a value indicating it supported TLS 1.3.Attempting to load an URL resulted in too many redirects.An HTTP transaction was retried too many times due for authentication or invalid certificates.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.A Trust Tokens protocol operation-executing request failed for one of a number of reasons (precondition failure, internal error, bad response).A tunnel connection through the proxy could not be established.The attempt to reuse a connection to send proxy auth credentials failed before the AuthController was used to generate credentials.An undocumented SSPI or GSSAPI status code was returned.An unexpected error.The response was 407 (Proxy Authentication Required), yet we did not send the request to a proxy.An unexpected, but documented, SSPI or GSSAPI status code was returned.The scheme of the URL is unknown.The server sent an FTP directory listing in a format we do not understand.Attempting to load an URL with an unsafe port number.Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect tofile://
is considered unsafe).An HTTP Authentication scheme was tried which is not supported on this machine.The file upload failed because the file's modification time was different from the expectation.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 sometimes reports more data written than passed.TLS 1.3 early data was offered, but the server responded with TLS 1.2 or earlier.Websocket protocol error.There are too many pending WebSocketJob instances, so the new job was not pushed to the queue.When a WebSocket handshake is done successfully and the connection has been upgraded, the URLRequest is cancelled with this error code. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
An operation was aborted (due to user action).static final int
Permission to access a resource, other than the network, was denied.static final int
An error adding a certificate to the OS certificate database.static final int
Returned when attempting to bind an address that is already in use.static final int
The IP address or port number is invalid (e.g., cannot connect to the IP address 0 or the port 0).static final int
The IP address is unreachable.static final int
The request to negotiate an alternate protocol failed.static final int
The SSL handshake failed because of a bad or missing client certificate.static final int
The request was blocked by the URL block list configured by the domain administrator.static final int
The client chose to block the request.static final int
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 final int
Received a challenge after the transaction has read some data, and the credentials aren't available.static final int
The cache found an entry with an invalid checksum.static final int
The cache was unable to read a checksum record on an entry.static final int
The disk cache is unable to create this entry.static final int
The disk cache is unable to doom this entry.static final int
Internal not-quite error code for the HTTP cache.static final int
Internal error code for the HTTP cache.static final int
The cache does not have the requested entry.static final int
The disk cache is unable to open this entry.static final int
The disk cache is unable to open or create this entry.static final int
The operation is not supported for this entry.static final int
Multiple transactions are racing to create disk cache entries.static final int
Unable to read from the disk cache.static final int
Unable to write to the disk cache.static final int
The server responded with a certificate that is signed by an authority we don't trust.static final int
The server responded with a certificate whose common name did not match the host name.static final int
The server responded with a certificate that contains errors.static final int
The certificate database changed in some way.static final int
The server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired.static final int
The value immediately past the last certificate error code.static final int
The server responded with a certificate that is invalid.static final int
The certificate claimed DNS names that are in violation of name constraints.static final int
The certificate has no mechanism for determining if it is revoked.static final int
The host name specified in the certificate is not unique.static final int
The server responded with a certificate has been revoked.static final int
The certificate chained to a legacy Symantec root that is no longer trusted.static final int
Certificate Transparency was required for this connection, but the server did not provide CT information that complied with the policy.static final int
Revocation information for the security certificate for this site is not available.static final int
The certificate's validity period is too long.static final int
The server responded with a certificate that contains a weak key (e.g.static final int
The server responded with a certificate that is signed using a weak signature algorithm.static final int
Server request for client certificate did not contain any types we support.static final int
A connection timed out as a result of not receiving an ACK for data sent.static final int
A connection was closed (corresponding to a TCP FIN).static final int
A connection attempt failed.static final int
A connection attempt was refused.static final int
A connection was reset (corresponding to a TCP RST).static final int
A connection attempt timed out.static final int
Content decoding of the response body failed.static final int
Initializing content decoding failed.static final int
The HTTP response body transferred fewer bytes than were advertised by the Content-Length header when the connection is closed.static final int
The request failed because the URLRequestContext is shutting down, or has been shut down.static final int
Certificate Transparency: Failed to parse the received consistency proof.static final int
Certificate Transparency: Received a signed tree head whose JSON parsing was OK but was missing some of the fields.static final int
Certificate Transparency: Received a signed tree head that failed to parse.static final int
The scheme of the URL is disallowed.static final int
The entry was not found in cache or other local sources, for lookups where only local sources were queried.static final int
DNS resolver received a malformed response.static final int
Suffix search list rules prevent resolution of the given host name.static final int
DNS server failed.static final int
DNS server requires TCPstatic final int
Failed to sort addresses according to RFC3484.static final int
DNS transaction timed out.static final int
TLS 1.3 early data was rejected by the server.static final int
The server closed the connection without sending any data.static final int
Converting the response to target encoding failed.static final int
Detecting the encoding of the response failed.static final int
A generic failure occurred.static final int
The file already exists.static final int
Not enough room left on the disk.static final int
The file or directory cannot be found.static final int
The path or file name is too long.static final int
The file is too large.static final int
The file has a virus.static final int
Server rejected our command because we didn't issue the commands in right order.static final int
Server does not support the command we issued.static final int
A generic error for failed FTP control connection command.static final int
The file is busy, or some other temporary error condition on opening the file.static final int
The server cannot fulfill the request at this point.static final int
Server rejected our command because of syntax errors.static final int
The server has aborted the transfer.static final int
There are too many pending DNS resolves, so a request in the queue was aborted.static final int
HTTP_1_1_REQUIRED error code received on HTTP/2 session.static final int
The server returned a non-2xx HTTP response code.static final int
Decoding or encoding of compressed HTTP/2 headers failed.static final int
The peer violated HTTP/2 flow control.static final int
The peer sent an improperly sized HTTP/2 frame.static final int
Transport security is inadequate for the HTTP/2 version.static final int
HTTP/2 server didn't respond to the PING message.static final int
There is an HTTP/2 protocol error.static final int
Received HTTP/2 RST_STREAM frame with NO_ERROR error code.static final int
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 final int
Received an HTTP/2 frame on a closed stream.static final int
A request to create an SSL tunnel connection through the HTTPS proxy received a 302 (temporary redirect) response.static final int
Resolving a hostname to an IP address list included the IPv4 address "127.0.53.53".static final int
CA import failed due to some other error.static final int
CA import failed - not a CA cert.static final int
Import failed - certificate already exists in database.static final int
Server certificate import failed due to some internal error.static final int
The HTTP response body is transferred with Chunked-Encoding, but the terminating zero-length chunk was never sent when the connection is closed.static final int
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 final int
The server's response was insecure (e.g.static final int
There were not enough resources to complete the operation.static final int
The Internet connection has been lost.static final int
An argument to the function is incorrect.static final int
Credentials could not be established during HTTP Authentication.static final int
Error in chunked transfer encoding.static final int
The handle or file descriptor is invalid.static final int
The server was expected to return an HTTP/1.x response, but did not.static final int
Attempting to load an URL resulted in a redirect to an invalid URL.static final int
The server's response was invalid.static final int
An error occurred while handling a signed exchange.static final int
The URL is invalid.static final int
An error occurred while handling a Web Bundle source.static final int
An asynchronous IO operation is not yet complete.static final int
Key generation failed.static final int
The identity used for authentication is invalid.static final int
A mandatory proxy configuration could not be used.static final int
The server did not support the request method.static final int
The environment was not set up correctly for authentication (for example, no KDC could be found or the principal is unknown).static final int
(GSSAPI) No Kerberos credentials were available during HTTP Authentication.static final int
The message was too large for the transport.static final int
The host name could not be resolved.static final int
An error occurred when trying to do a name resolution (DNS).static final int
Reserved value.static final int
Permission to access the network was denied.static final int
The network changed.static final int
An operation could not be completed because all network IO is suspended.static final int
No socket buffer space is available.static final int
An attempt to import a client certificate failed, as the user's key database lacked a corresponding private key.static final int
No SSL protocol versions are enabled.static final int
There are no supported proxies in the provided list.static final int
The operation failed because of unimplemented functionality.static final int
No error.static final int
Memory allocation failed.static final int
No PAC URL configuration could be retrieved from DHCP.static final int
The evaluation of the PAC script failed.static final int
The PAC script terminated fatally and must be reloaded.static final int
PKCS #12 import failed due to incorrect password.static final int
PKCS #12 import failed due to other error.static final int
PKCS #12 import failed due to invalid/corrupt file.static final int
PKCS #12 import failed due to invalid MAC.static final int
PKCS #12 import failed due to unsupported features.static final int
We've hit the max socket limit for the socket pool while preconnecting.static final int
Failure to export private key.static final int
The proxy requested authentication (for tunnel establishment).static final int
Proxy Auth Requested without a valid Client Socket Handle.static final int
The proxy requested authentication (for tunnel establishment) with an unsupported method.static final int
The certificate presented by the HTTPS Proxy was invalid.static final int
Could not create a connection to the proxy server.static final int
HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy.static final int
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 final int
The QUIC crytpo handshake failed.static final int
There is a QUIC protocol error.static final int
Socket ReadIfReady support is not implemented.static final int
The response was 416 (Requested range not satisfiable) and the server cannot satisfy the range requested.static final int
The HTTP response was too big to drain.static final int
The HTTP response contained multiple Content-Disposition headers.static final int
The HTTP response contained multiple distinct Content-Length headers.static final int
The HTTP response contained multiple Location headers.static final int
The headers section of the response is too large.static final int
The HTTP headers were truncated by an EOF.static final int
Self-signed certificate generation failed.static final int
The socket is already connected.static final int
The socket is not connected.static final int
Failed to set the socket's receive buffer size as requested, despite success return code from setsockopt.static final int
Failed to set the socket's send buffer size as requested, despite success return code from setsockopt.static final int
Failed to set the socket's receive buffer size as requested.static final int
Failed to set the socket's send buffer size as requested.static final int
Failed establishing a connection to the SOCKS proxy server for a target host.static final int
The SOCKS proxy server failed establishing connection to the target host because that host is unreachable.static final int
SSL peer's public key is invalid.static final int
An SSL peer sent us a fatal bad_record_mac alert.static final int
Failed to import a client certificate from the platform store into the SSL library.static final int
The server requested a client certificate for SSL client authentication.static final int
The SSL client certificate has no private key.static final int
There were no common signature algorithms between our client certificate private key and the server's preferences.static final int
The permission to use the SSL client certificate's private key was denied.static final int
We were unable to sign the CertificateVerify data of an SSL client auth handshake with the client certificate's private key.static final int
An SSL peer sent us a fatal decompression_failure alert.static final int
An SSL peer sent us a fatal decrypt_error alert.static final int
An operation failed because the SSL handshake has not completed.static final int
The server's certificate has a keyUsage extension incompatible with the negotiated TLS key exchange method.static final int
The peer sent an SSL no_renegotiation alert message.static final int
The SSL server required an unsupported cipher suite that has since been removed.static final int
The certificate didn't match the built-in public key pins for the host name.static final int
An SSL protocol error occurred.static final int
The server requested a renegotiation (rehandshake).static final int
The SSL server presented a certificate which could not be decoded.static final int
The SSL server certificate changed in a renegotiation.static final int
The SSL server sent us a fatal unrecognized_name alert.static final int
The client and server don't support a common SSL protocol version or cipher suite.static final int
FLIP data received without receiving a SYN_REPLY on the stream.static final int
The request throttler module cancelled this request to avoid DDOS.static final int
An operation timed out.static final int
TLS 1.3 was enabled, but a lower version was negotiated and the server returned a value indicating it supported TLS 1.3.static final int
Attempting to load an URL resulted in too many redirects.static final int
An HTTP transaction was retried too many times due for authentication or invalid certificates.static final int
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 final int
A Trust Tokens protocol operation-executing request failed for one of a number of reasons (precondition failure, internal error, bad response).static final int
A tunnel connection through the proxy could not be established.static final int
The attempt to reuse a connection to send proxy auth credentials failed before the AuthController was used to generate credentials.static final int
An undocumented SSPI or GSSAPI status code was returned.static final int
The response was 407 (Proxy Authentication Required), yet we did not send the request to a proxy.static final int
An unexpected, but documented, SSPI or GSSAPI status code was returned.static final int
An unexpected error.static final int
The scheme of the URL is unknown.static final int
The server sent an FTP directory listing in a format we do not understand.static final int
Attempting to load an URL with an unsafe port number.static final int
Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect tofile://
is considered unsafe).static final int
An HTTP Authentication scheme was tried which is not supported on this machine.static final int
The file upload failed because the file's modification time was different from the expectation.static final int
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 final int
Winsock sometimes reports more data written than passed.static final int
TLS 1.3 early data was offered, but the server responded with TLS 1.2 or earlier.static final int
Websocket protocol error.static final int
There are too many pending WebSocketJob instances, so the new job was not pushed to the queue.static final int
When a WebSocket handshake is done successfully and the connection has been upgraded, the URLRequest is cancelled with this error code. -
Method Summary
Modifier and TypeMethodDescriptionstatic NetError
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap<NetError>
static NetError
valueOf
(int value) Deprecated.static NetError
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static NetError
Returns the enum constant of this class with the specified name.static NetError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NET_ERROR_UNSPECIFIED
Reserved value. -
OK
No error. -
IO_PENDING
An asynchronous IO operation is not yet complete. This usually does not indicate a fatal error. Typically this error will be generated as a notification to wait for some external notification that the IO operation finally completed. -
FAILED
A generic failure occurred. -
ABORTED
An operation was aborted (due to user action). -
INVALID_ARGUMENT
An argument to the function is incorrect. -
INVALID_HANDLE
The handle or file descriptor is invalid. -
FILE_NOT_FOUND
The file or directory cannot be found. -
TIMED_OUT
An operation timed out. -
FILE_TOO_BIG
The file is too large. -
UNEXPECTED
An unexpected error. This may be caused by a programming mistake or an invalid assumption. -
ACCESS_DENIED
Permission to access a resource, other than the network, was denied. -
NOT_IMPLEMENTED
The operation failed because of unimplemented functionality. -
INSUFFICIENT_RESOURCES
There were not enough resources to complete the operation. -
OUT_OF_MEMORY
Memory allocation failed. -
UPLOAD_FILE_CHANGED
The file upload failed because the file's modification time was different from the expectation. -
SOCKET_NOT_CONNECTED
The socket is not connected. -
FILE_EXISTS
The file already exists. -
FILE_PATH_TOO_LONG
The path or file name is too long. -
FILE_NO_SPACE
Not enough room left on the disk. -
FILE_VIRUS_INFECTED
The file has a virus. -
BLOCKED_BY_CLIENT
The client chose to block the request. -
NETWORK_CHANGED
The network changed. -
BLOCKED_BY_ADMINISTRATOR
The request was blocked by the URL block list configured by the domain administrator. -
SOCKET_IS_CONNECTED
The socket is already connected. -
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. -
CONTEXT_SHUT_DOWN
The request failed because the URLRequestContext is shutting down, or has been shut down. -
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). -
CONNECTION_CLOSED
A connection was closed (corresponding to a TCP FIN). -
CONNECTION_RESET
A connection was reset (corresponding to a TCP RST). -
CONNECTION_REFUSED
A connection attempt was refused. -
CONNECTION_ABORTED
A connection timed out as a result of not receiving an ACK for data sent. This can include a FIN packet that did not get ACK'd. -
CONNECTION_FAILED
A connection attempt failed. -
NAME_NOT_RESOLVED
The host name could not be resolved. -
INTERNET_DISCONNECTED
The Internet connection has been lost. -
SSL_PROTOCOL_ERROR
An SSL protocol error occurred. -
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. This usually means that there is no route to the specified host or network. -
SSL_CLIENT_AUTH_CERT_NEEDED
The server requested a client certificate for SSL client authentication. -
TUNNEL_CONNECTION_FAILED
A tunnel connection through the proxy could not be established. -
NO_SSL_VERSIONS_ENABLED
No SSL protocol versions are enabled. -
SSL_VERSION_OR_CIPHER_MISMATCH
The client and server don't support a common SSL protocol version or cipher suite. -
SSL_RENEGOTIATION_REQUESTED
The server requested a renegotiation (rehandshake). -
PROXY_AUTH_UNSUPPORTED
The proxy requested authentication (for tunnel establishment) with an unsupported method. -
BAD_SSL_CLIENT_AUTH_CERT
The SSL handshake failed because of a bad or missing client certificate. -
CONNECTION_TIMED_OUT
A connection attempt timed out. -
HOST_RESOLVER_QUEUE_TOO_LARGE
There are too many pending DNS resolves, so a request in the queue was aborted. -
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. -
ALPN_NEGOTIATION_FAILED
The request to negotiate an alternate protocol failed. -
SSL_NO_RENEGOTIATION
The peer sent an SSL no_renegotiation alert message. -
WINSOCK_UNEXPECTED_WRITTEN_BYTES
Winsock sometimes reports more data written than passed. This is probably due to a broken LSP. -
SSL_DECOMPRESSION_FAILURE_ALERT
An SSL peer sent us a fatal decompression_failure alert. This typically occurs when a peer selects DEFLATE compression in the mistaken belief that it supports it. -
SSL_BAD_RECORD_MAC_ALERT
An SSL peer sent us a fatal bad_record_mac alert. This has been observed from servers with buggy DEFLATE support. -
PROXY_AUTH_REQUESTED
The proxy requested authentication (for tunnel establishment). -
PROXY_CONNECTION_FAILED
Could not create a connection to the proxy server. An error occurred either in resolving its name, or in connecting a socket to it. Note that this does NOT include failures during the actual "CONNECT" method of an HTTP proxy. -
MANDATORY_PROXY_CONFIGURATION_FAILED
A mandatory proxy configuration could not be used. Currently this means that a mandatory PAC script could not be fetched, parsed or executed. -
PRECONNECT_MAX_SOCKET_LIMIT
We've hit the max socket limit for the socket pool while preconnecting. We don't bother trying to preconnect more sockets. -
SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED
The permission to use the SSL client certificate's private key was denied. -
SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY
The SSL client certificate has no private key. -
PROXY_CERTIFICATE_INVALID
The certificate presented by the HTTPS Proxy was invalid. -
NAME_RESOLUTION_FAILED
An error occurred when trying to do a name resolution (DNS). -
NETWORK_ACCESS_DENIED
Permission to access the network was denied. This is used to distinguish errors that were most likely caused by a firewall from other access denied errors. See also ERR_ACCESS_DENIED. -
TEMPORARILY_THROTTLED
The request throttler module cancelled this request to avoid DDOS. -
HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT
A request to create an SSL tunnel connection through the HTTPS proxy received a 302 (temporary redirect) response. The response body might include a description of why the request failed. -
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.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.
-
MSG_TOO_BIG
The message was too large for the transport. (for example a UDP message which exceeds size threshold). -
WS_PROTOCOL_ERROR
Websocket protocol error. Indicates that we are terminating the connection due to a malformed frame or other protocol violation. -
ADDRESS_IN_USE
Returned when attempting to bind an address that is already in use. -
SSL_HANDSHAKE_NOT_COMPLETED
An operation failed because the SSL handshake has not completed. -
SSL_BAD_PEER_PUBLIC_KEY
SSL peer's public key is invalid. -
SSL_PINNED_KEY_NOT_IN_CERT_CHAIN
The certificate didn't match the built-in public key pins for the host name. The pins are set in net/http/transport_security_state.cc and require that one of a set of public keys exist on the path from the leaf to the root. -
CLIENT_AUTH_CERT_TYPE_UNSUPPORTED
Server request for client certificate did not contain any types we support. -
SSL_DECRYPT_ERROR_ALERT
An SSL peer sent us a fatal decrypt_error alert. This typically occurs when a peer could not correctly verify a signature (in CertificateVerify or ServerKeyExchange) or validate a Finished message. -
WS_THROTTLE_QUEUE_TOO_LARGE
There are too many pending WebSocketJob instances, so the new job was not pushed to the queue. -
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. -
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. -
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. -
SSL_CLIENT_AUTH_CERT_BAD_FORMAT
Failed to import a client certificate from the platform store into the SSL library. -
ICANN_NAME_COLLISION
Resolving a hostname to an IP address list included the IPv4 address "127.0.53.53". This is a special IP address which ICANN has recommended to indicate there was a name collision, and alert admins to a potential problem. -
SSL_SERVER_CERT_BAD_FORMAT
The SSL server presented a certificate which could not be decoded. This is not a certificate error code as no X509Certificate object is available. This error is fatal. -
CT_STH_PARSING_FAILED
Certificate Transparency: Received a signed tree head that failed to parse. -
CT_STH_INCOMPLETE
Certificate Transparency: Received a signed tree head whose JSON parsing was OK but was missing some of the fields. -
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. The caller should reuse the controller with a new connection. This error is only used internally by the network stack. -
CT_CONSISTENCY_PROOF_PARSING_FAILED
Certificate Transparency: Failed to parse the received consistency proof. -
SSL_OBSOLETE_CIPHER
The SSL server required an unsupported cipher suite that has since been removed. This error will temporarily be signaled on a fallback for one or two releases immediately following a cipher suite's removal, after which the fallback will be removed. -
WS_UPGRADE
When a WebSocket handshake is done successfully and the connection has been upgraded, the URLRequest is cancelled with this error code. -
READ_IF_READY_NOT_IMPLEMENTED
Socket ReadIfReady support is not implemented. This error should not be user visible, because the normal Read() method is used as a fallback. -
NO_BUFFER_SPACE
No socket buffer space is available. -
SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS
There were no common signature algorithms between our client certificate private key and the server's preferences. -
EARLY_DATA_REJECTED
TLS 1.3 early data was rejected by the server. This will be received before any data is returned from the socket. The request should be retried with early data disabled. -
WRONG_VERSION_ON_EARLY_DATA
TLS 1.3 early data was offered, but the server responded with TLS 1.2 or earlier. This is an internal error code to account for a backwards-compatibility issue with early data and TLS 1.2. It will be received before any data is returned from the socket. The request should be retried with early data disabled.See https://tools.ietf.org/html/rfc8446#appendix-D.3 for details.
-
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. This is part of a security check in TLS 1.3, but it may also indicate the user is behind a buggy TLS-terminating proxy which implemented TLS 1.2 incorrectly. (See https://crbug.com/boringssl/226.; -
SSL_KEY_USAGE_INCOMPATIBLE
The server's certificate has a keyUsage extension incompatible with the negotiated TLS key exchange method. -
CERT_COMMON_NAME_INVALID
The server responded with a certificate whose common name did not match the host name. This could mean:- An attacker has redirected our traffic to his server and is presenting a certificate for which he knows the private key.
- The server is misconfigured and responding with the wrong cert.
- The user is on a wireless network and is being redirected to the network's login page.
- The OS has used a DNS search suffix and the server doesn't have a certificate for the abbreviated name in the address bar.
-
CERT_DATE_INVALID
The server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired. This could mean:- An attacker is presenting an old certificate for which he has managed to obtain the private key.
- The server is misconfigured and is not presenting a valid cert.
- Our clock is wrong.
-
CERT_AUTHORITY_INVALID
The server responded with a certificate that is signed by an authority we don't trust. The could mean:- An attacker has substituted the real certificate for a cert that contains his public key and is signed by his cousin.
- The server operator has a legitimate certificate from a CA we don't know about, but should trust.
- The server is presenting a self-signed certificate, providing no defense against active attackers (but foiling passive attackers).
-
CERT_CONTAINS_ERRORS
The server responded with a certificate that contains errors. This error is not recoverable.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.
-
CERT_NO_REVOCATION_MECHANISM
The certificate has no mechanism for determining if it is revoked. In effect, this certificate cannot be revoked. -
CERT_UNABLE_TO_CHECK_REVOCATION
Revocation information for the security certificate for this site is not available. This could mean:- An attacker has compromised the private key in the certificate and is blocking our attempt to find out that the cert was revoked.
- The certificate is unrevoked, but the revocation server is busy or unavailable.
-
CERT_REVOKED
The server responded with a certificate has been revoked. We have the capability to ignore this error, but it is probably not the thing to do. -
CERT_INVALID
The server responded with a certificate that is invalid. This error is not recoverable.MSDN describes this error as follows: "The SSL certificate is invalid."
-
CERT_WEAK_SIGNATURE_ALGORITHM
The server responded with a certificate that is signed using a weak signature algorithm. -
CERT_NON_UNIQUE_NAME
The host name specified in the certificate is not unique. -
CERT_WEAK_KEY
The server responded with a certificate that contains a weak key (e.g. a too-small RSA key). -
CERT_NAME_CONSTRAINT_VIOLATION
The certificate claimed DNS names that are in violation of name constraints. -
CERT_VALIDITY_TOO_LONG
The certificate's validity period is too long. -
CERT_TRANSPARENCY_REQUIRED
Certificate Transparency was required for this connection, but the server did not provide CT information that complied with the policy. -
CERT_SYMANTEC_LEGACY
The certificate chained to a legacy Symantec root that is no longer trusted. https://g.co/chrome/symantecpkicerts -
CERT_END
The value immediately past the last certificate error code. -
INVALID_URL
The URL is invalid. -
DISALLOWED_URL_SCHEME
The scheme of the URL is disallowed. -
UNKNOWN_URL_SCHEME
The scheme of the URL is unknown. -
INVALID_REDIRECT
Attempting to load an URL resulted in a redirect to an invalid URL. -
TOO_MANY_REDIRECTS
Attempting to load an URL resulted in too many redirects. -
UNSAFE_REDIRECT
Attempting to load an URL resulted in an unsafe redirect (e.g., a redirect tofile://
is considered unsafe). -
UNSAFE_PORT
Attempting to load an URL with an unsafe port number. These are port numbers that correspond to services, which are not robust to spurious input that may be constructed as a result of an allowed web construct (e.g., HTTP looks a lot like SMTP, so form submission to port 25 is denied). -
INVALID_RESPONSE
The server's response was invalid. -
INVALID_CHUNKED_ENCODING
Error in chunked transfer encoding. -
METHOD_NOT_SUPPORTED
The server did not support the request method. -
UNEXPECTED_PROXY_AUTH
The response was 407 (Proxy Authentication Required), yet we did not send the request to a proxy. -
EMPTY_RESPONSE
The server closed the connection without sending any data. -
RESPONSE_HEADERS_TOO_BIG
The headers section of the response is too large. -
PAC_SCRIPT_FAILED
The evaluation of the PAC script failed. -
REQUEST_RANGE_NOT_SATISFIABLE
The response was 416 (Requested range not satisfiable) and the server cannot satisfy the range requested. -
MALFORMED_IDENTITY
The identity used for authentication is invalid. -
CONTENT_DECODING_FAILED
Content decoding of the response body failed. -
NETWORK_IO_SUSPENDED
An operation could not be completed because all network IO is suspended. -
SYN_REPLY_NOT_RECEIVED
FLIP data received without receiving a SYN_REPLY on the stream. -
ENCODING_CONVERSION_FAILED
Converting the response to target encoding failed. -
UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT
The server sent an FTP directory listing in a format we do not understand. -
NO_SUPPORTED_PROXIES
There are no supported proxies in the provided list. -
HTTP2_PROTOCOL_ERROR
There is an HTTP/2 protocol error. -
INVALID_AUTH_CREDENTIALS
Credentials could not be established during HTTP Authentication. -
UNSUPPORTED_AUTH_SCHEME
An HTTP Authentication scheme was tried which is not supported on this machine. -
ENCODING_DETECTION_FAILED
Detecting the encoding of the response failed. -
MISSING_AUTH_CREDENTIALS
(GSSAPI) No Kerberos credentials were available during HTTP Authentication. -
UNEXPECTED_SECURITY_LIBRARY_STATUS
An unexpected, but documented, SSPI or GSSAPI status code was returned. -
MISCONFIGURED_AUTH_ENVIRONMENT
The environment was not set up correctly for authentication (for example, no KDC could be found or the principal is unknown). -
UNDOCUMENTED_SECURITY_LIBRARY_STATUS
An undocumented SSPI or GSSAPI status code was returned. -
RESPONSE_BODY_TOO_BIG_TO_DRAIN
The HTTP response was too big to drain. -
RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
The HTTP response contained multiple distinct Content-Length headers. -
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. -
PAC_NOT_IN_DHCP
No PAC URL configuration could be retrieved from DHCP. This can indicate either a failure to retrieve the DHCP configuration, or that there was no PAC URL configured in DHCP. -
RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
The HTTP response contained multiple Content-Disposition headers. -
RESPONSE_HEADERS_MULTIPLE_LOCATION
The HTTP response contained multiple Location headers. -
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. Client MAY retry (on a different connection). See RFC7540 Section 8.1.4. -
HTTP2_PING_FAILED
HTTP/2 server didn't respond to the PING message. -
CONTENT_LENGTH_MISMATCH
The HTTP response body transferred fewer bytes than were advertised by the Content-Length header when the connection is closed. -
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. -
QUIC_PROTOCOL_ERROR
There is a QUIC protocol error. -
RESPONSE_HEADERS_TRUNCATED
The HTTP headers were truncated by an EOF. -
QUIC_HANDSHAKE_FAILED
The QUIC crytpo handshake failed. This means that the server was unable to read any requests sent, so they may be resent. -
HTTP2_INADEQUATE_TRANSPORT_SECURITY
Transport security is inadequate for the HTTP/2 version. -
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_COMPRESSION_ERROR
Decoding or encoding of compressed HTTP/2 headers failed. -
PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION
Proxy Auth Requested without a valid Client Socket Handle. -
HTTP_1_1_REQUIRED
HTTP_1_1_REQUIRED error code received on HTTP/2 session. -
PROXY_HTTP_1_1_REQUIRED
HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy. -
PAC_SCRIPT_TERMINATED
The PAC script terminated fatally and must be reloaded. -
INVALID_HTTP_RESPONSE
The server was expected to return an HTTP/1.x response, but did not. Rather than treat it as HTTP/0.9, this error is returned. -
CONTENT_DECODING_INIT_FAILED
Initializing content decoding failed. -
HTTP2_RST_STREAM_NO_ERROR_RECEIVED
Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should be handled internally by HTTP/2 code, and should not make it above the SpdyStream layer. -
TOO_MANY_RETRIES
An HTTP transaction was retried too many times due for authentication or invalid certificates. This may be due to a bug in the net stack that would otherwise infinite loop, or if the server or proxy continually requests fresh credentials or presents a fresh invalid certificate. -
HTTP2_STREAM_CLOSED
Received an HTTP/2 frame on a closed stream. -
HTTP_RESPONSE_CODE_FAILURE
The server returned a non-2xx HTTP response code.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.
-
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. -
CACHE_MISS
The cache does not have the requested entry. -
CACHE_READ_FAILURE
Unable to read from the disk cache. -
CACHE_WRITE_FAILURE
Unable to write to the disk cache. -
CACHE_OPERATION_NOT_SUPPORTED
The operation is not supported for this entry. -
CACHE_OPEN_FAILURE
The disk cache is unable to open this entry. -
CACHE_CREATE_FAILURE
The disk cache is unable to create this entry. -
CACHE_RACE
Multiple transactions are racing to create disk cache entries. This is an internal error returned from the HttpCache to the HttpCacheTransaction that tells the transaction to restart the entry-creation logic because the state of the cache has changed. -
CACHE_CHECKSUM_READ_FAILURE
The cache was unable to read a checksum record on an entry. This can be returned from attempts to read from the cache. It is an internal error, returned by the SimpleCache backend, but not by any URLRequest methods or members. -
CACHE_CHECKSUM_MISMATCH
The cache found an entry with an invalid checksum. This can be returned from attempts to read from the cache. It is an internal error, returned by the SimpleCache backend, but not by any URLRequest methods or members. -
CACHE_LOCK_TIMEOUT
Internal error code for the HTTP cache. The cache lock timeout has fired. -
CACHE_AUTH_FAILURE_AFTER_READ
Received a challenge after the transaction has read some data, and the credentials aren't available. There isn't a way to get them at that point. -
CACHE_ENTRY_NOT_SUITABLE
Internal not-quite error code for the HTTP cache. In-memory hints suggest that the cache entry would not have been useable with the transaction's current configuration (e.g. load flags, mode, etc.; -
CACHE_DOOM_FAILURE
The disk cache is unable to doom this entry. -
CACHE_OPEN_OR_CREATE_FAILURE
The disk cache is unable to open or create this entry. -
INSECURE_RESPONSE
The server's response was insecure (e.g. there was a cert error). -
NO_PRIVATE_KEY_FOR_CERT
An attempt to import a client certificate failed, as the user's key database lacked a corresponding private key. -
ADD_USER_CERT_FAILED
An error adding a certificate to the OS certificate database. -
INVALID_SIGNED_EXCHANGE
An error occurred while handling a signed exchange. -
INVALID_WEB_BUNDLE
An error occurred while handling a Web Bundle source. -
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). -
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. -
FTP_FAILED
A generic error for failed FTP control connection command. If possible, please use or add a more specific error code. -
FTP_SERVICE_UNAVAILABLE
The server cannot fulfill the request at this point. This is a temporary error. FTP response code 421. -
FTP_TRANSFER_ABORTED
The server has aborted the transfer. FTP response code 426. -
FTP_FILE_BUSY
The file is busy, or some other temporary error condition on opening the file. FTP response code 450. -
FTP_SYNTAX_ERROR
Server rejected our command because of syntax errors. FTP response codes 500, 501. -
FTP_COMMAND_NOT_SUPPORTED
Server does not support the command we issued. FTP response codes 502, 504. -
FTP_BAD_COMMAND_SEQUENCE
Server rejected our command because we didn't issue the commands in right order. FTP response code 503. -
PKCS12_IMPORT_BAD_PASSWORD
PKCS #12 import failed due to incorrect password. -
PKCS12_IMPORT_FAILED
PKCS #12 import failed due to 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. Note it's a little weird this is an error but reimporting a PKCS12 is ok (no-op). That's how Mozilla does it, though. -
IMPORT_CA_CERT_FAILED
CA import failed due to some other error. -
IMPORT_SERVER_CERT_FAILED
Server certificate import failed due to some internal error. -
PKCS12_IMPORT_INVALID_MAC
PKCS #12 import failed due to invalid MAC. -
PKCS12_IMPORT_INVALID_FILE
PKCS #12 import failed due to invalid/corrupt file. -
PKCS12_IMPORT_UNSUPPORTED
PKCS #12 import failed due to unsupported features. -
KEY_GENERATION_FAILED
Key generation failed. -
PRIVATE_KEY_EXPORT_FAILED
Failure to export private key. -
SELF_SIGNED_CERT_GENERATION_FAILED
Self-signed certificate generation failed. -
CERT_DATABASE_CHANGED
The certificate database changed in some way. -
DNS_MALFORMED_RESPONSE
DNS resolver received a malformed response. -
DNS_SERVER_REQUIRES_TCP
DNS server requires TCP -
DNS_SERVER_FAILED
DNS server failed. This error is returned for all of the following error conditions:- Format error - The name server was unable to interpret the query.
- Server failure - The name server was unable to process this query due to a problem with the name server.
- Not Implemented - The name server does not support the requested kind of query.
- Refused - The name server refuses to perform the specified operation for policy reasons.
-
DNS_TIMED_OUT
DNS transaction timed out. -
DNS_CACHE_MISS
The entry was not found in cache or other local sources, for lookups where only local sources were queried. -
DNS_SEARCH_EMPTY
Suffix search list rules prevent resolution of the given host name. -
DNS_SORT_ERROR
Failed to sort addresses according to RFC3484. -
UNRECOGNIZED
-
-
Field Details
-
NET_ERROR_UNSPECIFIED_VALUE
public static final int NET_ERROR_UNSPECIFIED_VALUEReserved value.- See Also:
-
OK_VALUE
public static final int OK_VALUENo error.- See Also:
-
IO_PENDING_VALUE
public static final int IO_PENDING_VALUEAn asynchronous IO operation is not yet complete. This usually does not indicate a fatal error. Typically this error will be generated as a notification to wait for some external notification that the IO operation finally completed.- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEA generic failure occurred.- See Also:
-
ABORTED_VALUE
public static final int ABORTED_VALUEAn operation was aborted (due to user action).- See Also:
-
INVALID_ARGUMENT_VALUE
public static final int INVALID_ARGUMENT_VALUEAn argument to the function is incorrect.- See Also:
-
INVALID_HANDLE_VALUE
public static final int INVALID_HANDLE_VALUEThe handle or file descriptor is invalid.- See Also:
-
FILE_NOT_FOUND_VALUE
public static final int FILE_NOT_FOUND_VALUEThe file or directory cannot be found.- See Also:
-
TIMED_OUT_VALUE
public static final int TIMED_OUT_VALUEAn operation timed out.- See Also:
-
FILE_TOO_BIG_VALUE
public static final int FILE_TOO_BIG_VALUEThe file is too large.- See Also:
-
UNEXPECTED_VALUE
public static final int UNEXPECTED_VALUEAn unexpected error. This may be caused by a programming mistake or an invalid assumption.- See Also:
-
ACCESS_DENIED_VALUE
public static final int ACCESS_DENIED_VALUEPermission to access a resource, other than the network, was denied.- See Also:
-
NOT_IMPLEMENTED_VALUE
public static final int NOT_IMPLEMENTED_VALUEThe operation failed because of unimplemented functionality.- See Also:
-
INSUFFICIENT_RESOURCES_VALUE
public static final int INSUFFICIENT_RESOURCES_VALUEThere were not enough resources to complete the operation.- See Also:
-
OUT_OF_MEMORY_VALUE
public static final int OUT_OF_MEMORY_VALUEMemory allocation failed.- See Also:
-
UPLOAD_FILE_CHANGED_VALUE
public static final int UPLOAD_FILE_CHANGED_VALUEThe file upload failed because the file's modification time was different from the expectation.- See Also:
-
SOCKET_NOT_CONNECTED_VALUE
public static final int SOCKET_NOT_CONNECTED_VALUEThe socket is not connected.- See Also:
-
FILE_EXISTS_VALUE
public static final int FILE_EXISTS_VALUEThe file already exists.- See Also:
-
FILE_PATH_TOO_LONG_VALUE
public static final int FILE_PATH_TOO_LONG_VALUEThe path or file name is too long.- See Also:
-
FILE_NO_SPACE_VALUE
public static final int FILE_NO_SPACE_VALUENot enough room left on the disk.- See Also:
-
FILE_VIRUS_INFECTED_VALUE
public static final int FILE_VIRUS_INFECTED_VALUEThe file has a virus.- See Also:
-
BLOCKED_BY_CLIENT_VALUE
public static final int BLOCKED_BY_CLIENT_VALUEThe client chose to block the request.- See Also:
-
NETWORK_CHANGED_VALUE
public static final int NETWORK_CHANGED_VALUEThe network changed.- See Also:
-
BLOCKED_BY_ADMINISTRATOR_VALUE
public static final int BLOCKED_BY_ADMINISTRATOR_VALUEThe request was blocked by the URL block list configured by the domain administrator.- See Also:
-
SOCKET_IS_CONNECTED_VALUE
public static final int SOCKET_IS_CONNECTED_VALUEThe socket is already connected.- See Also:
-
UPLOAD_STREAM_REWIND_NOT_SUPPORTED_VALUE
public static final int UPLOAD_STREAM_REWIND_NOT_SUPPORTED_VALUEThe 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.- See Also:
-
CONTEXT_SHUT_DOWN_VALUE
public static final int CONTEXT_SHUT_DOWN_VALUEThe request failed because the URLRequestContext is shutting down, or has been shut down.- See Also:
-
BLOCKED_BY_RESPONSE_VALUE
public static final int BLOCKED_BY_RESPONSE_VALUEThe 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).- See Also:
-
CONNECTION_CLOSED_VALUE
public static final int CONNECTION_CLOSED_VALUEA connection was closed (corresponding to a TCP FIN).- See Also:
-
CONNECTION_RESET_VALUE
public static final int CONNECTION_RESET_VALUEA connection was reset (corresponding to a TCP RST).- See Also:
-
CONNECTION_REFUSED_VALUE
public static final int CONNECTION_REFUSED_VALUEA connection attempt was refused.- See Also:
-
CONNECTION_ABORTED_VALUE
public static final int CONNECTION_ABORTED_VALUEA connection timed out as a result of not receiving an ACK for data sent. This can include a FIN packet that did not get ACK'd.- See Also:
-
CONNECTION_FAILED_VALUE
public static final int CONNECTION_FAILED_VALUEA connection attempt failed.- See Also:
-
NAME_NOT_RESOLVED_VALUE
public static final int NAME_NOT_RESOLVED_VALUEThe host name could not be resolved.- See Also:
-
INTERNET_DISCONNECTED_VALUE
public static final int INTERNET_DISCONNECTED_VALUEThe Internet connection has been lost.- See Also:
-
SSL_PROTOCOL_ERROR_VALUE
public static final int SSL_PROTOCOL_ERROR_VALUEAn SSL protocol error occurred.- See Also:
-
ADDRESS_INVALID_VALUE
public static final int ADDRESS_INVALID_VALUEThe IP address or port number is invalid (e.g., cannot connect to the IP address 0 or the port 0).- See Also:
-
ADDRESS_UNREACHABLE_VALUE
public static final int ADDRESS_UNREACHABLE_VALUEThe IP address is unreachable. This usually means that there is no route to the specified host or network.- See Also:
-
SSL_CLIENT_AUTH_CERT_NEEDED_VALUE
public static final int SSL_CLIENT_AUTH_CERT_NEEDED_VALUEThe server requested a client certificate for SSL client authentication.- See Also:
-
TUNNEL_CONNECTION_FAILED_VALUE
public static final int TUNNEL_CONNECTION_FAILED_VALUEA tunnel connection through the proxy could not be established.- See Also:
-
NO_SSL_VERSIONS_ENABLED_VALUE
public static final int NO_SSL_VERSIONS_ENABLED_VALUENo SSL protocol versions are enabled.- See Also:
-
SSL_VERSION_OR_CIPHER_MISMATCH_VALUE
public static final int SSL_VERSION_OR_CIPHER_MISMATCH_VALUEThe client and server don't support a common SSL protocol version or cipher suite.- See Also:
-
SSL_RENEGOTIATION_REQUESTED_VALUE
public static final int SSL_RENEGOTIATION_REQUESTED_VALUEThe server requested a renegotiation (rehandshake).- See Also:
-
PROXY_AUTH_UNSUPPORTED_VALUE
public static final int PROXY_AUTH_UNSUPPORTED_VALUEThe proxy requested authentication (for tunnel establishment) with an unsupported method.- See Also:
-
BAD_SSL_CLIENT_AUTH_CERT_VALUE
public static final int BAD_SSL_CLIENT_AUTH_CERT_VALUEThe SSL handshake failed because of a bad or missing client certificate.- See Also:
-
CONNECTION_TIMED_OUT_VALUE
public static final int CONNECTION_TIMED_OUT_VALUEA connection attempt timed out.- See Also:
-
HOST_RESOLVER_QUEUE_TOO_LARGE_VALUE
public static final int HOST_RESOLVER_QUEUE_TOO_LARGE_VALUEThere are too many pending DNS resolves, so a request in the queue was aborted.- See Also:
-
SOCKS_CONNECTION_FAILED_VALUE
public static final int SOCKS_CONNECTION_FAILED_VALUEFailed establishing a connection to the SOCKS proxy server for a target host.- See Also:
-
SOCKS_CONNECTION_HOST_UNREACHABLE_VALUE
public static final int SOCKS_CONNECTION_HOST_UNREACHABLE_VALUEThe SOCKS proxy server failed establishing connection to the target host because that host is unreachable.- See Also:
-
ALPN_NEGOTIATION_FAILED_VALUE
public static final int ALPN_NEGOTIATION_FAILED_VALUEThe request to negotiate an alternate protocol failed.- See Also:
-
SSL_NO_RENEGOTIATION_VALUE
public static final int SSL_NO_RENEGOTIATION_VALUEThe peer sent an SSL no_renegotiation alert message.- See Also:
-
WINSOCK_UNEXPECTED_WRITTEN_BYTES_VALUE
public static final int WINSOCK_UNEXPECTED_WRITTEN_BYTES_VALUEWinsock sometimes reports more data written than passed. This is probably due to a broken LSP.- See Also:
-
SSL_DECOMPRESSION_FAILURE_ALERT_VALUE
public static final int SSL_DECOMPRESSION_FAILURE_ALERT_VALUEAn SSL peer sent us a fatal decompression_failure alert. This typically occurs when a peer selects DEFLATE compression in the mistaken belief that it supports it.- See Also:
-
SSL_BAD_RECORD_MAC_ALERT_VALUE
public static final int SSL_BAD_RECORD_MAC_ALERT_VALUEAn SSL peer sent us a fatal bad_record_mac alert. This has been observed from servers with buggy DEFLATE support.- See Also:
-
PROXY_AUTH_REQUESTED_VALUE
public static final int PROXY_AUTH_REQUESTED_VALUEThe proxy requested authentication (for tunnel establishment).- See Also:
-
PROXY_CONNECTION_FAILED_VALUE
public static final int PROXY_CONNECTION_FAILED_VALUECould not create a connection to the proxy server. An error occurred either in resolving its name, or in connecting a socket to it. Note that this does NOT include failures during the actual "CONNECT" method of an HTTP proxy.- See Also:
-
MANDATORY_PROXY_CONFIGURATION_FAILED_VALUE
public static final int MANDATORY_PROXY_CONFIGURATION_FAILED_VALUEA mandatory proxy configuration could not be used. Currently this means that a mandatory PAC script could not be fetched, parsed or executed.- See Also:
-
PRECONNECT_MAX_SOCKET_LIMIT_VALUE
public static final int PRECONNECT_MAX_SOCKET_LIMIT_VALUEWe've hit the max socket limit for the socket pool while preconnecting. We don't bother trying to preconnect more sockets.- See Also:
-
SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED_VALUE
public static final int SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED_VALUEThe permission to use the SSL client certificate's private key was denied.- See Also:
-
SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY_VALUE
public static final int SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY_VALUEThe SSL client certificate has no private key.- See Also:
-
PROXY_CERTIFICATE_INVALID_VALUE
public static final int PROXY_CERTIFICATE_INVALID_VALUEThe certificate presented by the HTTPS Proxy was invalid.- See Also:
-
NAME_RESOLUTION_FAILED_VALUE
public static final int NAME_RESOLUTION_FAILED_VALUEAn error occurred when trying to do a name resolution (DNS).- See Also:
-
NETWORK_ACCESS_DENIED_VALUE
public static final int NETWORK_ACCESS_DENIED_VALUEPermission to access the network was denied. This is used to distinguish errors that were most likely caused by a firewall from other access denied errors. See also ERR_ACCESS_DENIED.- See Also:
-
TEMPORARILY_THROTTLED_VALUE
public static final int TEMPORARILY_THROTTLED_VALUEThe request throttler module cancelled this request to avoid DDOS.- See Also:
-
HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT_VALUE
public static final int HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT_VALUEA request to create an SSL tunnel connection through the HTTPS proxy received a 302 (temporary redirect) response. The response body might include a description of why the request failed.- See Also:
-
SSL_CLIENT_AUTH_SIGNATURE_FAILED_VALUE
public static final int SSL_CLIENT_AUTH_SIGNATURE_FAILED_VALUEWe were unable to sign the CertificateVerify data of an SSL client auth handshake with the client certificate's private key.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.
- See Also:
-
MSG_TOO_BIG_VALUE
public static final int MSG_TOO_BIG_VALUEThe message was too large for the transport. (for example a UDP message which exceeds size threshold).- See Also:
-
WS_PROTOCOL_ERROR_VALUE
public static final int WS_PROTOCOL_ERROR_VALUEWebsocket protocol error. Indicates that we are terminating the connection due to a malformed frame or other protocol violation.- See Also:
-
ADDRESS_IN_USE_VALUE
public static final int ADDRESS_IN_USE_VALUEReturned when attempting to bind an address that is already in use.- See Also:
-
SSL_HANDSHAKE_NOT_COMPLETED_VALUE
public static final int SSL_HANDSHAKE_NOT_COMPLETED_VALUEAn operation failed because the SSL handshake has not completed.- See Also:
-
SSL_BAD_PEER_PUBLIC_KEY_VALUE
public static final int SSL_BAD_PEER_PUBLIC_KEY_VALUESSL peer's public key is invalid.- See Also:
-
SSL_PINNED_KEY_NOT_IN_CERT_CHAIN_VALUE
public static final int SSL_PINNED_KEY_NOT_IN_CERT_CHAIN_VALUEThe certificate didn't match the built-in public key pins for the host name. The pins are set in net/http/transport_security_state.cc and require that one of a set of public keys exist on the path from the leaf to the root.- See Also:
-
CLIENT_AUTH_CERT_TYPE_UNSUPPORTED_VALUE
public static final int CLIENT_AUTH_CERT_TYPE_UNSUPPORTED_VALUEServer request for client certificate did not contain any types we support.- See Also:
-
SSL_DECRYPT_ERROR_ALERT_VALUE
public static final int SSL_DECRYPT_ERROR_ALERT_VALUEAn SSL peer sent us a fatal decrypt_error alert. This typically occurs when a peer could not correctly verify a signature (in CertificateVerify or ServerKeyExchange) or validate a Finished message.- See Also:
-
WS_THROTTLE_QUEUE_TOO_LARGE_VALUE
public static final int WS_THROTTLE_QUEUE_TOO_LARGE_VALUEThere are too many pending WebSocketJob instances, so the new job was not pushed to the queue.- See Also:
-
SSL_SERVER_CERT_CHANGED_VALUE
public static final int SSL_SERVER_CERT_CHANGED_VALUEThe SSL server certificate changed in a renegotiation.- See Also:
-
SSL_UNRECOGNIZED_NAME_ALERT_VALUE
public static final int SSL_UNRECOGNIZED_NAME_ALERT_VALUEThe SSL server sent us a fatal unrecognized_name alert.- See Also:
-
SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR_VALUE
public static final int SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR_VALUEFailed to set the socket's receive buffer size as requested.- See Also:
-
SOCKET_SET_SEND_BUFFER_SIZE_ERROR_VALUE
public static final int SOCKET_SET_SEND_BUFFER_SIZE_ERROR_VALUEFailed to set the socket's send buffer size as requested.- See Also:
-
SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE_VALUE
public static final int SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE_VALUEFailed to set the socket's receive buffer size as requested, despite success return code from setsockopt.- See Also:
-
SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE_VALUE
public static final int SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE_VALUEFailed to set the socket's send buffer size as requested, despite success return code from setsockopt.- See Also:
-
SSL_CLIENT_AUTH_CERT_BAD_FORMAT_VALUE
public static final int SSL_CLIENT_AUTH_CERT_BAD_FORMAT_VALUEFailed to import a client certificate from the platform store into the SSL library.- See Also:
-
ICANN_NAME_COLLISION_VALUE
public static final int ICANN_NAME_COLLISION_VALUEResolving a hostname to an IP address list included the IPv4 address "127.0.53.53". This is a special IP address which ICANN has recommended to indicate there was a name collision, and alert admins to a potential problem.- See Also:
-
SSL_SERVER_CERT_BAD_FORMAT_VALUE
public static final int SSL_SERVER_CERT_BAD_FORMAT_VALUEThe SSL server presented a certificate which could not be decoded. This is not a certificate error code as no X509Certificate object is available. This error is fatal.- See Also:
-
CT_STH_PARSING_FAILED_VALUE
public static final int CT_STH_PARSING_FAILED_VALUECertificate Transparency: Received a signed tree head that failed to parse.- See Also:
-
CT_STH_INCOMPLETE_VALUE
public static final int CT_STH_INCOMPLETE_VALUECertificate Transparency: Received a signed tree head whose JSON parsing was OK but was missing some of the fields.- See Also:
-
UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH_VALUE
public static final int UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH_VALUEThe attempt to reuse a connection to send proxy auth credentials failed before the AuthController was used to generate credentials. The caller should reuse the controller with a new connection. This error is only used internally by the network stack.- See Also:
-
CT_CONSISTENCY_PROOF_PARSING_FAILED_VALUE
public static final int CT_CONSISTENCY_PROOF_PARSING_FAILED_VALUECertificate Transparency: Failed to parse the received consistency proof.- See Also:
-
SSL_OBSOLETE_CIPHER_VALUE
public static final int SSL_OBSOLETE_CIPHER_VALUEThe SSL server required an unsupported cipher suite that has since been removed. This error will temporarily be signaled on a fallback for one or two releases immediately following a cipher suite's removal, after which the fallback will be removed.- See Also:
-
WS_UPGRADE_VALUE
public static final int WS_UPGRADE_VALUEWhen a WebSocket handshake is done successfully and the connection has been upgraded, the URLRequest is cancelled with this error code.- See Also:
-
READ_IF_READY_NOT_IMPLEMENTED_VALUE
public static final int READ_IF_READY_NOT_IMPLEMENTED_VALUESocket ReadIfReady support is not implemented. This error should not be user visible, because the normal Read() method is used as a fallback.- See Also:
-
NO_BUFFER_SPACE_VALUE
public static final int NO_BUFFER_SPACE_VALUENo socket buffer space is available.- See Also:
-
SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS_VALUE
public static final int SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS_VALUEThere were no common signature algorithms between our client certificate private key and the server's preferences.- See Also:
-
EARLY_DATA_REJECTED_VALUE
public static final int EARLY_DATA_REJECTED_VALUETLS 1.3 early data was rejected by the server. This will be received before any data is returned from the socket. The request should be retried with early data disabled.- See Also:
-
WRONG_VERSION_ON_EARLY_DATA_VALUE
public static final int WRONG_VERSION_ON_EARLY_DATA_VALUETLS 1.3 early data was offered, but the server responded with TLS 1.2 or earlier. This is an internal error code to account for a backwards-compatibility issue with early data and TLS 1.2. It will be received before any data is returned from the socket. The request should be retried with early data disabled.See https://tools.ietf.org/html/rfc8446#appendix-D.3 for details.
- See Also:
-
TLS13_DOWNGRADE_DETECTED_VALUE
public static final int TLS13_DOWNGRADE_DETECTED_VALUETLS 1.3 was enabled, but a lower version was negotiated and the server returned a value indicating it supported TLS 1.3. This is part of a security check in TLS 1.3, but it may also indicate the user is behind a buggy TLS-terminating proxy which implemented TLS 1.2 incorrectly. (See https://crbug.com/boringssl/226.;- See Also:
-
SSL_KEY_USAGE_INCOMPATIBLE_VALUE
public static final int SSL_KEY_USAGE_INCOMPATIBLE_VALUEThe server's certificate has a keyUsage extension incompatible with the negotiated TLS key exchange method.- See Also:
-
CERT_COMMON_NAME_INVALID_VALUE
public static final int CERT_COMMON_NAME_INVALID_VALUEThe server responded with a certificate whose common name did not match the host name. This could mean:- An attacker has redirected our traffic to his server and is presenting a certificate for which he knows the private key.
- The server is misconfigured and responding with the wrong cert.
- The user is on a wireless network and is being redirected to the network's login page.
- The OS has used a DNS search suffix and the server doesn't have a certificate for the abbreviated name in the address bar.
- See Also:
-
CERT_DATE_INVALID_VALUE
public static final int CERT_DATE_INVALID_VALUEThe server responded with a certificate that, by our clock, appears to either not yet be valid or to have expired. This could mean:- An attacker is presenting an old certificate for which he has managed to obtain the private key.
- The server is misconfigured and is not presenting a valid cert.
- Our clock is wrong.
- See Also:
-
CERT_AUTHORITY_INVALID_VALUE
public static final int CERT_AUTHORITY_INVALID_VALUEThe server responded with a certificate that is signed by an authority we don't trust. The could mean:- An attacker has substituted the real certificate for a cert that contains his public key and is signed by his cousin.
- The server operator has a legitimate certificate from a CA we don't know about, but should trust.
- The server is presenting a self-signed certificate, providing no defense against active attackers (but foiling passive attackers).
- See Also:
-
CERT_CONTAINS_ERRORS_VALUE
public static final int CERT_CONTAINS_ERRORS_VALUEThe server responded with a certificate that contains errors. This error is not recoverable.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.
- See Also:
-
CERT_NO_REVOCATION_MECHANISM_VALUE
public static final int CERT_NO_REVOCATION_MECHANISM_VALUEThe certificate has no mechanism for determining if it is revoked. In effect, this certificate cannot be revoked.- See Also:
-
CERT_UNABLE_TO_CHECK_REVOCATION_VALUE
public static final int CERT_UNABLE_TO_CHECK_REVOCATION_VALUERevocation information for the security certificate for this site is not available. This could mean:- An attacker has compromised the private key in the certificate and is blocking our attempt to find out that the cert was revoked.
- The certificate is unrevoked, but the revocation server is busy or unavailable.
- See Also:
-
CERT_REVOKED_VALUE
public static final int CERT_REVOKED_VALUEThe server responded with a certificate has been revoked. We have the capability to ignore this error, but it is probably not the thing to do.- See Also:
-
CERT_INVALID_VALUE
public static final int CERT_INVALID_VALUEThe server responded with a certificate that is invalid. This error is not recoverable.MSDN describes this error as follows: "The SSL certificate is invalid."
- See Also:
-
CERT_WEAK_SIGNATURE_ALGORITHM_VALUE
public static final int CERT_WEAK_SIGNATURE_ALGORITHM_VALUEThe server responded with a certificate that is signed using a weak signature algorithm.- See Also:
-
CERT_NON_UNIQUE_NAME_VALUE
public static final int CERT_NON_UNIQUE_NAME_VALUEThe host name specified in the certificate is not unique.- See Also:
-
CERT_WEAK_KEY_VALUE
public static final int CERT_WEAK_KEY_VALUEThe server responded with a certificate that contains a weak key (e.g. a too-small RSA key).- See Also:
-
CERT_NAME_CONSTRAINT_VIOLATION_VALUE
public static final int CERT_NAME_CONSTRAINT_VIOLATION_VALUEThe certificate claimed DNS names that are in violation of name constraints.- See Also:
-
CERT_VALIDITY_TOO_LONG_VALUE
public static final int CERT_VALIDITY_TOO_LONG_VALUEThe certificate's validity period is too long.- See Also:
-
CERT_TRANSPARENCY_REQUIRED_VALUE
public static final int CERT_TRANSPARENCY_REQUIRED_VALUECertificate Transparency was required for this connection, but the server did not provide CT information that complied with the policy.- See Also:
-
CERT_SYMANTEC_LEGACY_VALUE
public static final int CERT_SYMANTEC_LEGACY_VALUEThe certificate chained to a legacy Symantec root that is no longer trusted. https://g.co/chrome/symantecpkicerts- See Also:
-
CERT_END_VALUE
public static final int CERT_END_VALUEThe value immediately past the last certificate error code.- See Also:
-
INVALID_URL_VALUE
public static final int INVALID_URL_VALUEThe URL is invalid.- See Also:
-
DISALLOWED_URL_SCHEME_VALUE
public static final int DISALLOWED_URL_SCHEME_VALUEThe scheme of the URL is disallowed.- See Also:
-
UNKNOWN_URL_SCHEME_VALUE
public static final int UNKNOWN_URL_SCHEME_VALUEThe scheme of the URL is unknown.- See Also:
-
INVALID_REDIRECT_VALUE
public static final int INVALID_REDIRECT_VALUEAttempting to load an URL resulted in a redirect to an invalid URL.- See Also:
-
TOO_MANY_REDIRECTS_VALUE
public static final int TOO_MANY_REDIRECTS_VALUEAttempting to load an URL resulted in too many redirects.- See Also:
-
UNSAFE_REDIRECT_VALUE
public static final int UNSAFE_REDIRECT_VALUEAttempting to load an URL resulted in an unsafe redirect (e.g., a redirect tofile://
is considered unsafe).- See Also:
-
UNSAFE_PORT_VALUE
public static final int UNSAFE_PORT_VALUEAttempting to load an URL with an unsafe port number. These are port numbers that correspond to services, which are not robust to spurious input that may be constructed as a result of an allowed web construct (e.g., HTTP looks a lot like SMTP, so form submission to port 25 is denied).- See Also:
-
INVALID_RESPONSE_VALUE
public static final int INVALID_RESPONSE_VALUEThe server's response was invalid.- See Also:
-
INVALID_CHUNKED_ENCODING_VALUE
public static final int INVALID_CHUNKED_ENCODING_VALUEError in chunked transfer encoding.- See Also:
-
METHOD_NOT_SUPPORTED_VALUE
public static final int METHOD_NOT_SUPPORTED_VALUEThe server did not support the request method.- See Also:
-
UNEXPECTED_PROXY_AUTH_VALUE
public static final int UNEXPECTED_PROXY_AUTH_VALUEThe response was 407 (Proxy Authentication Required), yet we did not send the request to a proxy.- See Also:
-
EMPTY_RESPONSE_VALUE
public static final int EMPTY_RESPONSE_VALUEThe server closed the connection without sending any data.- See Also:
-
RESPONSE_HEADERS_TOO_BIG_VALUE
public static final int RESPONSE_HEADERS_TOO_BIG_VALUEThe headers section of the response is too large.- See Also:
-
PAC_SCRIPT_FAILED_VALUE
public static final int PAC_SCRIPT_FAILED_VALUEThe evaluation of the PAC script failed.- See Also:
-
REQUEST_RANGE_NOT_SATISFIABLE_VALUE
public static final int REQUEST_RANGE_NOT_SATISFIABLE_VALUEThe response was 416 (Requested range not satisfiable) and the server cannot satisfy the range requested.- See Also:
-
MALFORMED_IDENTITY_VALUE
public static final int MALFORMED_IDENTITY_VALUEThe identity used for authentication is invalid.- See Also:
-
CONTENT_DECODING_FAILED_VALUE
public static final int CONTENT_DECODING_FAILED_VALUEContent decoding of the response body failed.- See Also:
-
NETWORK_IO_SUSPENDED_VALUE
public static final int NETWORK_IO_SUSPENDED_VALUEAn operation could not be completed because all network IO is suspended.- See Also:
-
SYN_REPLY_NOT_RECEIVED_VALUE
public static final int SYN_REPLY_NOT_RECEIVED_VALUEFLIP data received without receiving a SYN_REPLY on the stream.- See Also:
-
ENCODING_CONVERSION_FAILED_VALUE
public static final int ENCODING_CONVERSION_FAILED_VALUEConverting the response to target encoding failed.- See Also:
-
UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT_VALUE
public static final int UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT_VALUEThe server sent an FTP directory listing in a format we do not understand.- See Also:
-
NO_SUPPORTED_PROXIES_VALUE
public static final int NO_SUPPORTED_PROXIES_VALUEThere are no supported proxies in the provided list.- See Also:
-
HTTP2_PROTOCOL_ERROR_VALUE
public static final int HTTP2_PROTOCOL_ERROR_VALUEThere is an HTTP/2 protocol error.- See Also:
-
INVALID_AUTH_CREDENTIALS_VALUE
public static final int INVALID_AUTH_CREDENTIALS_VALUECredentials could not be established during HTTP Authentication.- See Also:
-
UNSUPPORTED_AUTH_SCHEME_VALUE
public static final int UNSUPPORTED_AUTH_SCHEME_VALUEAn HTTP Authentication scheme was tried which is not supported on this machine.- See Also:
-
ENCODING_DETECTION_FAILED_VALUE
public static final int ENCODING_DETECTION_FAILED_VALUEDetecting the encoding of the response failed.- See Also:
-
MISSING_AUTH_CREDENTIALS_VALUE
public static final int MISSING_AUTH_CREDENTIALS_VALUE(GSSAPI) No Kerberos credentials were available during HTTP Authentication.- See Also:
-
UNEXPECTED_SECURITY_LIBRARY_STATUS_VALUE
public static final int UNEXPECTED_SECURITY_LIBRARY_STATUS_VALUEAn unexpected, but documented, SSPI or GSSAPI status code was returned.- See Also:
-
MISCONFIGURED_AUTH_ENVIRONMENT_VALUE
public static final int MISCONFIGURED_AUTH_ENVIRONMENT_VALUEThe environment was not set up correctly for authentication (for example, no KDC could be found or the principal is unknown).- See Also:
-
UNDOCUMENTED_SECURITY_LIBRARY_STATUS_VALUE
public static final int UNDOCUMENTED_SECURITY_LIBRARY_STATUS_VALUEAn undocumented SSPI or GSSAPI status code was returned.- See Also:
-
RESPONSE_BODY_TOO_BIG_TO_DRAIN_VALUE
public static final int RESPONSE_BODY_TOO_BIG_TO_DRAIN_VALUEThe HTTP response was too big to drain.- See Also:
-
RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH_VALUE
public static final int RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH_VALUEThe HTTP response contained multiple distinct Content-Length headers.- See Also:
-
INCOMPLETE_HTTP2_HEADERS_VALUE
public static final int INCOMPLETE_HTTP2_HEADERS_VALUEHTTP/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.- See Also:
-
PAC_NOT_IN_DHCP_VALUE
public static final int PAC_NOT_IN_DHCP_VALUENo PAC URL configuration could be retrieved from DHCP. This can indicate either a failure to retrieve the DHCP configuration, or that there was no PAC URL configured in DHCP.- See Also:
-
RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION_VALUE
public static final int RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION_VALUEThe HTTP response contained multiple Content-Disposition headers.- See Also:
-
RESPONSE_HEADERS_MULTIPLE_LOCATION_VALUE
public static final int RESPONSE_HEADERS_MULTIPLE_LOCATION_VALUEThe HTTP response contained multiple Location headers.- See Also:
-
HTTP2_SERVER_REFUSED_STREAM_VALUE
public static final int HTTP2_SERVER_REFUSED_STREAM_VALUEHTTP/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. Client MAY retry (on a different connection). See RFC7540 Section 8.1.4.- See Also:
-
HTTP2_PING_FAILED_VALUE
public static final int HTTP2_PING_FAILED_VALUEHTTP/2 server didn't respond to the PING message.- See Also:
-
CONTENT_LENGTH_MISMATCH_VALUE
public static final int CONTENT_LENGTH_MISMATCH_VALUEThe HTTP response body transferred fewer bytes than were advertised by the Content-Length header when the connection is closed.- See Also:
-
INCOMPLETE_CHUNKED_ENCODING_VALUE
public static final int INCOMPLETE_CHUNKED_ENCODING_VALUEThe HTTP response body is transferred with Chunked-Encoding, but the terminating zero-length chunk was never sent when the connection is closed.- See Also:
-
QUIC_PROTOCOL_ERROR_VALUE
public static final int QUIC_PROTOCOL_ERROR_VALUEThere is a QUIC protocol error.- See Also:
-
RESPONSE_HEADERS_TRUNCATED_VALUE
public static final int RESPONSE_HEADERS_TRUNCATED_VALUEThe HTTP headers were truncated by an EOF.- See Also:
-
QUIC_HANDSHAKE_FAILED_VALUE
public static final int QUIC_HANDSHAKE_FAILED_VALUEThe QUIC crytpo handshake failed. This means that the server was unable to read any requests sent, so they may be resent.- See Also:
-
HTTP2_INADEQUATE_TRANSPORT_SECURITY_VALUE
public static final int HTTP2_INADEQUATE_TRANSPORT_SECURITY_VALUETransport security is inadequate for the HTTP/2 version.- See Also:
-
HTTP2_FLOW_CONTROL_ERROR_VALUE
public static final int HTTP2_FLOW_CONTROL_ERROR_VALUEThe peer violated HTTP/2 flow control.- See Also:
-
HTTP2_FRAME_SIZE_ERROR_VALUE
public static final int HTTP2_FRAME_SIZE_ERROR_VALUEThe peer sent an improperly sized HTTP/2 frame.- See Also:
-
HTTP2_COMPRESSION_ERROR_VALUE
public static final int HTTP2_COMPRESSION_ERROR_VALUEDecoding or encoding of compressed HTTP/2 headers failed.- See Also:
-
PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION_VALUE
public static final int PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION_VALUEProxy Auth Requested without a valid Client Socket Handle.- See Also:
-
HTTP_1_1_REQUIRED_VALUE
public static final int HTTP_1_1_REQUIRED_VALUEHTTP_1_1_REQUIRED error code received on HTTP/2 session.- See Also:
-
PROXY_HTTP_1_1_REQUIRED_VALUE
public static final int PROXY_HTTP_1_1_REQUIRED_VALUEHTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy.- See Also:
-
PAC_SCRIPT_TERMINATED_VALUE
public static final int PAC_SCRIPT_TERMINATED_VALUEThe PAC script terminated fatally and must be reloaded.- See Also:
-
INVALID_HTTP_RESPONSE_VALUE
public static final int INVALID_HTTP_RESPONSE_VALUEThe server was expected to return an HTTP/1.x response, but did not. Rather than treat it as HTTP/0.9, this error is returned.- See Also:
-
CONTENT_DECODING_INIT_FAILED_VALUE
public static final int CONTENT_DECODING_INIT_FAILED_VALUEInitializing content decoding failed.- See Also:
-
HTTP2_RST_STREAM_NO_ERROR_RECEIVED_VALUE
public static final int HTTP2_RST_STREAM_NO_ERROR_RECEIVED_VALUEReceived HTTP/2 RST_STREAM frame with NO_ERROR error code. This error should be handled internally by HTTP/2 code, and should not make it above the SpdyStream layer.- See Also:
-
TOO_MANY_RETRIES_VALUE
public static final int TOO_MANY_RETRIES_VALUEAn HTTP transaction was retried too many times due for authentication or invalid certificates. This may be due to a bug in the net stack that would otherwise infinite loop, or if the server or proxy continually requests fresh credentials or presents a fresh invalid certificate.- See Also:
-
HTTP2_STREAM_CLOSED_VALUE
public static final int HTTP2_STREAM_CLOSED_VALUEReceived an HTTP/2 frame on a closed stream.- See Also:
-
HTTP_RESPONSE_CODE_FAILURE_VALUE
public static final int HTTP_RESPONSE_CODE_FAILURE_VALUEThe server returned a non-2xx HTTP response code.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.
- See Also:
-
QUIC_CERT_ROOT_NOT_KNOWN_VALUE
public static final int QUIC_CERT_ROOT_NOT_KNOWN_VALUEThe 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.- See Also:
-
CACHE_MISS_VALUE
public static final int CACHE_MISS_VALUEThe cache does not have the requested entry.- See Also:
-
CACHE_READ_FAILURE_VALUE
public static final int CACHE_READ_FAILURE_VALUEUnable to read from the disk cache.- See Also:
-
CACHE_WRITE_FAILURE_VALUE
public static final int CACHE_WRITE_FAILURE_VALUEUnable to write to the disk cache.- See Also:
-
CACHE_OPERATION_NOT_SUPPORTED_VALUE
public static final int CACHE_OPERATION_NOT_SUPPORTED_VALUEThe operation is not supported for this entry.- See Also:
-
CACHE_OPEN_FAILURE_VALUE
public static final int CACHE_OPEN_FAILURE_VALUEThe disk cache is unable to open this entry.- See Also:
-
CACHE_CREATE_FAILURE_VALUE
public static final int CACHE_CREATE_FAILURE_VALUEThe disk cache is unable to create this entry.- See Also:
-
CACHE_RACE_VALUE
public static final int CACHE_RACE_VALUEMultiple transactions are racing to create disk cache entries. This is an internal error returned from the HttpCache to the HttpCacheTransaction that tells the transaction to restart the entry-creation logic because the state of the cache has changed.- See Also:
-
CACHE_CHECKSUM_READ_FAILURE_VALUE
public static final int CACHE_CHECKSUM_READ_FAILURE_VALUEThe cache was unable to read a checksum record on an entry. This can be returned from attempts to read from the cache. It is an internal error, returned by the SimpleCache backend, but not by any URLRequest methods or members.- See Also:
-
CACHE_CHECKSUM_MISMATCH_VALUE
public static final int CACHE_CHECKSUM_MISMATCH_VALUEThe cache found an entry with an invalid checksum. This can be returned from attempts to read from the cache. It is an internal error, returned by the SimpleCache backend, but not by any URLRequest methods or members.- See Also:
-
CACHE_LOCK_TIMEOUT_VALUE
public static final int CACHE_LOCK_TIMEOUT_VALUEInternal error code for the HTTP cache. The cache lock timeout has fired.- See Also:
-
CACHE_AUTH_FAILURE_AFTER_READ_VALUE
public static final int CACHE_AUTH_FAILURE_AFTER_READ_VALUEReceived a challenge after the transaction has read some data, and the credentials aren't available. There isn't a way to get them at that point.- See Also:
-
CACHE_ENTRY_NOT_SUITABLE_VALUE
public static final int CACHE_ENTRY_NOT_SUITABLE_VALUEInternal not-quite error code for the HTTP cache. In-memory hints suggest that the cache entry would not have been useable with the transaction's current configuration (e.g. load flags, mode, etc.;- See Also:
-
CACHE_DOOM_FAILURE_VALUE
public static final int CACHE_DOOM_FAILURE_VALUEThe disk cache is unable to doom this entry.- See Also:
-
CACHE_OPEN_OR_CREATE_FAILURE_VALUE
public static final int CACHE_OPEN_OR_CREATE_FAILURE_VALUEThe disk cache is unable to open or create this entry.- See Also:
-
INSECURE_RESPONSE_VALUE
public static final int INSECURE_RESPONSE_VALUEThe server's response was insecure (e.g. there was a cert error).- See Also:
-
NO_PRIVATE_KEY_FOR_CERT_VALUE
public static final int NO_PRIVATE_KEY_FOR_CERT_VALUEAn attempt to import a client certificate failed, as the user's key database lacked a corresponding private key.- See Also:
-
ADD_USER_CERT_FAILED_VALUE
public static final int ADD_USER_CERT_FAILED_VALUEAn error adding a certificate to the OS certificate database.- See Also:
-
INVALID_SIGNED_EXCHANGE_VALUE
public static final int INVALID_SIGNED_EXCHANGE_VALUEAn error occurred while handling a signed exchange.- See Also:
-
INVALID_WEB_BUNDLE_VALUE
public static final int INVALID_WEB_BUNDLE_VALUEAn error occurred while handling a Web Bundle source.- See Also:
-
TRUST_TOKEN_OPERATION_FAILED_VALUE
public static final int TRUST_TOKEN_OPERATION_FAILED_VALUEA Trust Tokens protocol operation-executing request failed for one of a number of reasons (precondition failure, internal error, bad response).- See Also:
-
TRUST_TOKEN_OPERATION_CACHE_HIT_VALUE
public static final int TRUST_TOKEN_OPERATION_CACHE_HIT_VALUEWhen 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.- See Also:
-
FTP_FAILED_VALUE
public static final int FTP_FAILED_VALUEA generic error for failed FTP control connection command. If possible, please use or add a more specific error code.- See Also:
-
FTP_SERVICE_UNAVAILABLE_VALUE
public static final int FTP_SERVICE_UNAVAILABLE_VALUEThe server cannot fulfill the request at this point. This is a temporary error. FTP response code 421.- See Also:
-
FTP_TRANSFER_ABORTED_VALUE
public static final int FTP_TRANSFER_ABORTED_VALUEThe server has aborted the transfer. FTP response code 426.- See Also:
-
FTP_FILE_BUSY_VALUE
public static final int FTP_FILE_BUSY_VALUEThe file is busy, or some other temporary error condition on opening the file. FTP response code 450.- See Also:
-
FTP_SYNTAX_ERROR_VALUE
public static final int FTP_SYNTAX_ERROR_VALUEServer rejected our command because of syntax errors. FTP response codes 500, 501.- See Also:
-
FTP_COMMAND_NOT_SUPPORTED_VALUE
public static final int FTP_COMMAND_NOT_SUPPORTED_VALUEServer does not support the command we issued. FTP response codes 502, 504.- See Also:
-
FTP_BAD_COMMAND_SEQUENCE_VALUE
public static final int FTP_BAD_COMMAND_SEQUENCE_VALUEServer rejected our command because we didn't issue the commands in right order. FTP response code 503.- See Also:
-
PKCS12_IMPORT_BAD_PASSWORD_VALUE
public static final int PKCS12_IMPORT_BAD_PASSWORD_VALUEPKCS #12 import failed due to incorrect password.- See Also:
-
PKCS12_IMPORT_FAILED_VALUE
public static final int PKCS12_IMPORT_FAILED_VALUEPKCS #12 import failed due to other error.- See Also:
-
IMPORT_CA_CERT_NOT_CA_VALUE
public static final int IMPORT_CA_CERT_NOT_CA_VALUECA import failed - not a CA cert.- See Also:
-
IMPORT_CERT_ALREADY_EXISTS_VALUE
public static final int IMPORT_CERT_ALREADY_EXISTS_VALUEImport failed - certificate already exists in database. Note it's a little weird this is an error but reimporting a PKCS12 is ok (no-op). That's how Mozilla does it, though.- See Also:
-
IMPORT_CA_CERT_FAILED_VALUE
public static final int IMPORT_CA_CERT_FAILED_VALUECA import failed due to some other error.- See Also:
-
IMPORT_SERVER_CERT_FAILED_VALUE
public static final int IMPORT_SERVER_CERT_FAILED_VALUEServer certificate import failed due to some internal error.- See Also:
-
PKCS12_IMPORT_INVALID_MAC_VALUE
public static final int PKCS12_IMPORT_INVALID_MAC_VALUEPKCS #12 import failed due to invalid MAC.- See Also:
-
PKCS12_IMPORT_INVALID_FILE_VALUE
public static final int PKCS12_IMPORT_INVALID_FILE_VALUEPKCS #12 import failed due to invalid/corrupt file.- See Also:
-
PKCS12_IMPORT_UNSUPPORTED_VALUE
public static final int PKCS12_IMPORT_UNSUPPORTED_VALUEPKCS #12 import failed due to unsupported features.- See Also:
-
KEY_GENERATION_FAILED_VALUE
public static final int KEY_GENERATION_FAILED_VALUEKey generation failed.- See Also:
-
PRIVATE_KEY_EXPORT_FAILED_VALUE
public static final int PRIVATE_KEY_EXPORT_FAILED_VALUEFailure to export private key.- See Also:
-
SELF_SIGNED_CERT_GENERATION_FAILED_VALUE
public static final int SELF_SIGNED_CERT_GENERATION_FAILED_VALUESelf-signed certificate generation failed.- See Also:
-
CERT_DATABASE_CHANGED_VALUE
public static final int CERT_DATABASE_CHANGED_VALUEThe certificate database changed in some way.- See Also:
-
DNS_MALFORMED_RESPONSE_VALUE
public static final int DNS_MALFORMED_RESPONSE_VALUEDNS resolver received a malformed response.- See Also:
-
DNS_SERVER_REQUIRES_TCP_VALUE
public static final int DNS_SERVER_REQUIRES_TCP_VALUEDNS server requires TCP- See Also:
-
DNS_SERVER_FAILED_VALUE
public static final int DNS_SERVER_FAILED_VALUEDNS server failed. This error is returned for all of the following error conditions:- Format error - The name server was unable to interpret the query.
- Server failure - The name server was unable to process this query due to a problem with the name server.
- Not Implemented - The name server does not support the requested kind of query.
- Refused - The name server refuses to perform the specified operation for policy reasons.
- See Also:
-
DNS_TIMED_OUT_VALUE
public static final int DNS_TIMED_OUT_VALUEDNS transaction timed out.- See Also:
-
DNS_CACHE_MISS_VALUE
public static final int DNS_CACHE_MISS_VALUEThe entry was not found in cache or other local sources, for lookups where only local sources were queried.- See Also:
-
DNS_SEARCH_EMPTY_VALUE
public static final int DNS_SEARCH_EMPTY_VALUESuffix search list rules prevent resolution of the given host name.- See Also:
-
DNS_SORT_ERROR_VALUE
public static final int DNS_SORT_ERROR_VALUEFailed to sort addresses according to RFC3484.- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-