cronet_status.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2020 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_CORE_EXT_TRANSPORT_CRONET_TRANSPORT_CRONET_STATUS_H
20 #define GRPC_CORE_EXT_TRANSPORT_CRONET_TRANSPORT_CRONET_STATUS_H
21 
23 
24 #include <grpc/status.h>
25 
27  //
28  // Ranges:
29  // 0- 99 System related errors
30  // 100-199 Connection related errors
31  // 200-299 Certificate errors
32  // 300-399 HTTP errors
33  // 400-499 Cache errors
34  // 500-599 ?
35  // 600-699 FTP errors
36  // 700-799 Certificate manager errors
37  // 800-899 DNS resolver errors
38 
39  // An asynchronous IO operation is not yet complete. This usually does not
40  // indicate a fatal error. Typically this error will be generated as a
41  // notification to wait for some external notification that the IO operation
42  // finally completed.
43  OK = 0,
45 
46  // A generic failure occurred.
48 
49  // An operation was aborted (due to user action,.
51 
52  // An argument to the function is incorrect.
54 
55  // The handle or file descriptor is invalid.
57 
58  // The file or directory cannot be found.
60 
61  // An operation timed out.
63 
64  // The file is too large.
66 
67  // An unexpected error. This may be caused by a programming mistake or an
68  // invalid assumption.
70 
71  // Permission to access a resource = other than the network = was denied.
73 
74  // The operation failed because of unimplemented functionality.
76 
77  // There were not enough resources to complete the operation.
79 
80  // Memory allocation failed.
82 
83  // The file upload failed because the file's modification time was different
84  // from the expectation.
86 
87  // The socket is not connected.
89 
90  // The file already exists.
92 
93  // The path or file name is too long.
95 
96  // Not enough room left on the disk.
98 
99  // The file has a virus.
101 
102  // The client chose to block the request.
104 
105  // The network changed.
107 
108  // The request was blocked by the URL block list configured by the domain
109  // administrator.
111 
112  // The socket is already connected.
114 
115  // The request was blocked because the forced reenrollment check is still
116  // pending. This error can only occur on ChromeOS.
117  // The error can be emitted by code in
118  // chrome/browser/policy/policy_helpers.cc.
120 
121  // The upload failed because the upload stream needed to be re-read = due to a
122  // retry or a redirect = but the upload stream doesn't support that operation.
124 
125  // The request failed because the URLRequestContext is shutting down = or has
126  // been shut down.
128 
129  // The request failed because the response was delivered along with
130  // requirements
131  // which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor
132  // checks and 'Cross-Origin-Resource-Policy' = for instance,.
134 
135  // Error -28 was removed (BLOCKED_BY_XSS_AUDITOR,.
136 
137  // The request was blocked by system policy disallowing some or all cleartext
138  // requests. Used for NetworkSecurityPolicy on Android.
140 
141  // The request was blocked by a Content Security Policy
143 
144  // The request was blocked because of no H/2 or QUIC session.
146 
147  // The request was blocked because it is a private network request coming from
148  // an insecure context in a less private IP address space. This is used to
149  // enforce CORS-RFC1918: https: //wicg.github.io/cors-rfc1918.
151 
152  // A connection was closed (corresponding to a TCP FIN,.
154 
155  // A connection was reset (corresponding to a TCP RST,.
157 
158  // A connection attempt was refused.
160 
161  // A connection timed out as a result of not receiving an ACK for data sent.
162  // This can include a FIN packet that did not get ACK'd.
164 
165  // A connection attempt failed.
167 
168  // The host name could not be resolved.
170 
171  // The Internet connection has been lost.
173 
174  // An SSL protocol error occurred.
176 
177  // The IP address or port number is invalid (e.g. = cannot connect to the IP
178  // address 0 or the port 0,.
180 
181  // The IP address is unreachable. This usually means that there is no route
182  // to
183  // the specified host or network.
185 
186  // The server requested a client certificate for SSL client authentication.
188 
189  // A tunnel connection through the proxy could not be established.
191 
192  // No SSL protocol versions are enabled.
194 
195  // The client and server don't support a common SSL protocol version or
196  // cipher suite.
198 
199  // The server requested a renegotiation (rehandshake,.
201 
202  // The proxy requested authentication (for tunnel establishment, with an
203  // unsupported method.
205 
206  // During SSL renegotiation (rehandshake, = the server sent a certificate with
207  // an error.
208  //
209  // Note: this error is not in the -2xx range so that it won't be handled as a
210  // certificate error.
212 
213  // The SSL handshake failed because of a bad or missing client certificate.
215 
216  // A connection attempt timed out.
218 
219  // There are too many pending DNS resolves = so a request in the queue was
220  // aborted.
222 
223  // Failed establishing a connection to the SOCKS proxy server for a target
224  // host.
226 
227  // The SOCKS proxy server failed establishing connection to the target host
228  // because that host is unreachable.
230 
231  // The request to negotiate an alternate protocol failed.
233 
234  // The peer sent an SSL no_renegotiation alert message.
236 
237  // Winsock sometimes reports more data written than passed. This is probably
238  // due to a broken LSP.
240 
241  // An SSL peer sent us a fatal decompression_failure alert. This typically
242  // occurs when a peer selects DEFLATE compression in the mistaken belief that
243  // it supports it.
245 
246  // An SSL peer sent us a fatal bad_record_mac alert. This has been observed
247  // from servers with buggy DEFLATE support.
249 
250  // The proxy requested authentication (for tunnel establishment,.
252 
253  // Error -129 was removed (SSL_WEAK_SERVER_EPHEMERAL_DH_KEY,.
254 
255  // Could not create a connection to the proxy server. An error occurred
256  // either in resolving its name = or in connecting a socket to it.
257  // Note that this does NOT include failures during the actual "CONNECT" method
258  // of an HTTP proxy.
260 
261  // A mandatory proxy configuration could not be used. Currently this means
262  // that a mandatory PAC script could not be fetched = parsed or executed.
264 
265  // -132 was formerly ERR_ESET_ANTI_VIRUS_SSL_INTERCEPTION
266 
267  // We've hit the max socket limit for the socket pool while preconnecting. We
268  // don't bother trying to preconnect more sockets.
270 
271  // The permission to use the SSL client certificate's private key was denied.
273 
274  // The SSL client certificate has no private key.
276 
277  // The certificate presented by the HTTPS Proxy was invalid.
279 
280  // An error occurred when trying to do a name resolution (DNS,.
282 
283  // Permission to access the network was denied. This is used to distinguish
284  // errors that were most likely caused by a firewall from other access denied
285  // errors. See also ERR_ACCESS_DENIED.
287 
288  // The request throttler module cancelled this request to avoid DDOS.
290 
291  // A request to create an SSL tunnel connection through the HTTPS proxy
292  // received a 302 (temporary redirect, response. The response body might
293  // include a description of why the request failed.
294  //
295  // TODO(crbug.com/928551): This is deprecated and should not be used
296  // by new code.
298 
299  // We were unable to sign the CertificateVerify data of an SSL client auth
300  // handshake with the client certificate's private key.
301  //
302  // Possible causes for this include the user implicitly or explicitly
303  // denying access to the private key = the private key may not be valid for
304  // signing = the key may be relying on a cached handle which is no longer
305  // valid = or the CSP won't allow arbitrary data to be signed.
307 
308  // The message was too large for the transport. (for example a UDP message
309  // which exceeds size threshold,.
311 
312  // Error -143 was removed (SPDY_SESSION_ALREADY_EXISTS,
313 
314  // Error -144 was removed (LIMIT_VIOLATION,.
315 
316  // Websocket protocol error. Indicates that we are terminating the connection
317  // due to a malformed frame or other protocol violation.
319 
320  // Error -146 was removed (PROTOCOL_SWITCHED,
321 
322  // Returned when attempting to bind an address that is already in use.
324 
325  // An operation failed because the SSL handshake has not completed.
327 
328  // SSL peer's public key is invalid.
330 
331  // The certificate didn't match the built-in public key pins for the host
332  // name.
333  // The pins are set in net/http/transport_security_state.cc and require that
334  // one of a set of public keys exist on the path from the leaf to the root.
336 
337  // Server request for client certificate did not contain any types we support.
339 
340  // Error -152 was removed (ORIGIN_BOUND_CERT_GENERATION_TYPE_MISMATCH,
341 
342  // An SSL peer sent us a fatal decrypt_error alert. This typically occurs when
343  // a peer could not correctly verify a signature (in CertificateVerify or
344  // ServerKeyExchange, or validate a Finished message.
346 
347  // There are too many pending WebSocketJob instances = so the new job was not
348  // pushed to the queue.
350 
351  // Error -155 was removed (TOO_MANY_SOCKET_STREAMS,
352 
353  // The SSL server certificate changed in a renegotiation.
355 
356  // Error -157 was removed (SSL_INAPPROPRIATE_FALLBACK,.
357 
358  // Error -158 was removed (CT_NO_SCTS_VERIFIED_OK,.
359 
360  // The SSL server sent us a fatal unrecognized_name alert.
362 
363  // Failed to set the socket's receive buffer size as requested.
365 
366  // Failed to set the socket's send buffer size as requested.
368 
369  // Failed to set the socket's receive buffer size as requested = despite
370  // success
371  // return code from setsockopt.
373 
374  // Failed to set the socket's send buffer size as requested = despite success
375  // return code from setsockopt.
377 
378  // Failed to import a client certificate from the platform store into the SSL
379  // library.
381 
382  // Error -165 was removed (SSL_FALLBACK_BEYOND_MINIMUM_VERSION,.
383 
384  // Resolving a hostname to an IP address list included the IPv4 address
385  // "127.0.53.53". This is a special IP address which ICANN has recommended to
386  // indicate there was a name collision = and alert admins to a potential
387  // problem.
389 
390  // The SSL server presented a certificate which could not be decoded. This is
391  // not a certificate error code as no X509Certificate object is available.
392  // This
393  // error is fatal.
395 
396  // Certificate Transparency: Received a signed tree head that failed to parse.
398 
399  // Certificate Transparency: Received a signed tree head whose JSON parsing
400  // was
401  // OK but was missing some of the fields.
403 
404  // The attempt to reuse a connection to send proxy auth credentials failed
405  // before the AuthController was used to generate credentials. The caller
406  // should
407  // reuse the controller with a new connection. This error is only used
408  // internally by the network stack.
410 
411  // Certificate Transparency: Failed to parse the received consistency proof.
413 
414  // The SSL server required an unsupported cipher suite that has since been
415  // removed. This error will temporarily be signaled on a fallback for one or
416  // two
417  // releases immediately following a cipher suite's removal = after which the
418  // fallback will be removed.
420 
421  // When a WebSocket handshake is done successfully and the connection has been
422  // upgraded = the URLRequest is cancelled with this error code.
424 
425  // Socket ReadIfReady support is not implemented. This error should not be
426  // user
427  // visible = because the normal Read(, method is used as a fallback.
429 
430  // Error -175 was removed (SSL_VERSION_INTERFERENCE,.
431 
432  // No socket buffer space is available.
434 
435  // There were no common signature algorithms between our client certificate
436  // private key and the server's preferences.
438 
439  // TLS 1.3 early data was rejected by the server. This will be received before
440  // any data is returned from the socket. The request should be retried with
441  // early data disabled.
443 
444  // TLS 1.3 early data was offered = but the server responded with TLS 1.2 or
445  // earlier. This is an internal error code to account for a
446  // backwards-compatibility issue with early data and TLS 1.2. It will be
447  // received before any data is returned from the socket. The request should be
448  // retried with early data disabled.
449  //
450  // See https: //tools.ietf.org/html/rfc8446#appendix-D.3 for details.
452 
453  // TLS 1.3 was enabled = but a lower version was negotiated and the server
454  // returned a value indicating it supported TLS 1.3. This is part of a
455  // security
456  // check in TLS 1.3 = but it may also indicate the user is behind a buggy
457  // TLS-terminating proxy which implemented TLS 1.2 incorrectly. (See
458  // https: //crbug.com/boringssl/226.,
460 
461  // The server's certificate has a keyUsage extension incompatible with the
462  // negotiated TLS key exchange method.
464 
465  // Certificate error codes
466  //
467  // The values of certificate error codes must be consecutive.
468 
469  // The server responded with a certificate whose common name did not match
470  // the host name. This could mean:
471  //
472  // 1. An attacker has redirected our traffic to their server and is
473  // presenting a certificate for which they know the private key.
474  //
475  // 2. The server is misconfigured and responding with the wrong cert.
476  //
477  // 3. The user is on a wireless network and is being redirected to the
478  // network's login page.
479  //
480  // 4. The OS has used a DNS search suffix and the server doesn't have
481  // a certificate for the abbreviated name in the address bar.
482  //
484 
485  // The server responded with a certificate that = by our clock = appears to
486  // either not yet be valid or to have expired. This could mean:
487  //
488  // 1. An attacker is presenting an old certificate for which they have
489  // managed to obtain the private key.
490  //
491  // 2. The server is misconfigured and is not presenting a valid cert.
492  //
493  // 3. Our clock is wrong.
494  //
496 
497  // The server responded with a certificate that is signed by an authority
498  // we don't trust. The could mean:
499  //
500  // 1. An attacker has substituted the real certificate for a cert that
501  // contains their public key and is signed by their cousin.
502  //
503  // 2. The server operator has a legitimate certificate from a CA we don't
504  // know about = but should trust.
505  //
506  // 3. The server is presenting a self-signed certificate = providing no
507  // defense against active attackers (but foiling passive attackers,.
508  //
510 
511  // The server responded with a certificate that contains errors.
512  // This error is not recoverable.
513  //
514  // MSDN describes this error as follows:
515  // "The SSL certificate contains errors."
516  // NOTE: It's unclear how this differs from ERR_CERT_INVALID. For consistency
517  // =
518  // use that code instead of this one from now on.
519  //
521 
522  // The certificate has no mechanism for determining if it is revoked. In
523  // effect = this certificate cannot be revoked.
525 
526  // Revocation information for the security certificate for this site is not
527  // available. This could mean:
528  //
529  // 1. An attacker has compromised the private key in the certificate and is
530  // blocking our attempt to find out that the cert was revoked.
531  //
532  // 2. The certificate is unrevoked = but the revocation server is busy or
533  // unavailable.
534  //
536 
537  // The server responded with a certificate has been revoked.
538  // We have the capability to ignore this error = but it is probably not the
539  // thing to do.
541 
542  // The server responded with a certificate that is invalid.
543  // This error is not recoverable.
544  //
545  // MSDN describes this error as follows:
546  // "The SSL certificate is invalid."
547  //
549 
550  // The server responded with a certificate that is signed using a weak
551  // signature algorithm.
553 
554  // -209 is available: was CERT_NOT_IN_DNS.
555 
556  // The host name specified in the certificate is not unique.
558 
559  // The server responded with a certificate that contains a weak key (e.g.
560  // a too-small RSA key,.
562 
563  // The certificate claimed DNS names that are in violation of name
564  // constraints.
566 
567  // The certificate's validity period is too long.
569 
570  // Certificate Transparency was required for this connection = but the server
571  // did not provide CT information that complied with the policy.
573 
574  // The certificate chained to a legacy Symantec root that is no longer
575  // trusted.
576  // https: //g.co/chrome/symantecpkicerts
578 
579  // -216 was QUIC_CERT_ROOT_NOT_KNOWN which has been renumbered to not be in
580  // the
581  // certificate error range.
582 
583  // The certificate is known to be used for interception by an entity other
584  // the device owner.
586 
587  // The connection uses an obsolete version of SSL/TLS.
589 
590  // Add new certificate error codes here.
591  //
592  // Update the value of CERT_END whenever you add a new certificate error
593  // code.
594 
595  // The value immediately past the last certificate error code.
597 
598  // The URL is invalid.
600 
601  // The scheme of the URL is disallowed.
603 
604  // The scheme of the URL is unknown.
606 
607  // Attempting to load an URL resulted in a redirect to an invalid URL.
609 
610  // Attempting to load an URL resulted in too many redirects.
612 
613  // Attempting to load an URL resulted in an unsafe redirect (e.g. = a redirect
614  // to file: // is considered unsafe,.
616 
617  // Attempting to load an URL with an unsafe port number. These are port
618  // numbers that correspond to services = which are not robust to spurious
619  // input
620  // that may be constructed as a result of an allowed web construct (e.g. =
621  // HTTP
622  // looks a lot like SMTP = so form submission to port 25 is denied,.
624 
625  // The server's response was invalid.
627 
628  // Error in chunked transfer encoding.
630 
631  // The server did not support the request method.
633 
634  // The response was 407 (Proxy Authentication Required, = yet we did not send
635  // the request to a proxy.
637 
638  // The server closed the connection without sending any data.
640 
641  // The headers section of the response is too large.
643 
644  // Error -326 was removed (PAC_STATUS_NOT_OK,
645 
646  // The evaluation of the PAC script failed.
648 
649  // The response was 416 (Requested range not satisfiable, and the server
650  // cannot
651  // satisfy the range requested.
653 
654  // The identity used for authentication is invalid.
656 
657  // Content decoding of the response body failed.
659 
660  // An operation could not be completed because all network IO
661  // is suspended.
663 
664  // FLIP data received without receiving a SYN_REPLY on the stream.
666 
667  // Converting the response to target encoding failed.
669 
670  // The server sent an FTP directory listing in a format we do not understand.
672 
673  // Obsolete. Was only logged in NetLog when an HTTP/2 pushed stream expired.
674  // CRONET_NET_ERROR_INVALID_SPDY_STREAM = -335,
675 
676  // There are no supported proxies in the provided list.
678 
679  // There is an HTTP/2 protocol error.
681 
682  // Credentials could not be established during HTTP Authentication.
684 
685  // An HTTP Authentication scheme was tried which is not supported on this
686  // machine.
688 
689  // Detecting the encoding of the response failed.
691 
692  // (GSSAPI, No Kerberos credentials were available during HTTP Authentication.
694 
695  // An unexpected = but documented = SSPI or GSSAPI status code was returned.
697 
698  // The environment was not set up correctly for authentication (for
699  // example = no KDC could be found or the principal is unknown.
701 
702  // An undocumented SSPI or GSSAPI status code was returned.
704 
705  // The HTTP response was too big to drain.
707 
708  // The HTTP response contained multiple distinct Content-Length headers.
710 
711  // HTTP/2 headers have been received = but not all of them - status or version
712  // headers are missing = so we're expecting additional frames to complete
713  // them.
715 
716  // No PAC URL configuration could be retrieved from DHCP. This can indicate
717  // either a failure to retrieve the DHCP configuration = or that there was no
718  // PAC URL configured in DHCP.
720 
721  // The HTTP response contained multiple Content-Disposition headers.
723 
724  // The HTTP response contained multiple Location headers.
726 
727  // HTTP/2 server refused the request without processing = and sent either a
728  // GOAWAY frame with error code NO_ERROR and Last-Stream-ID lower than the
729  // stream id corresponding to the request indicating that this request has not
730  // been processed yet = or a RST_STREAM frame with error code REFUSED_STREAM.
731  // Client MAY retry (on a different connection,. See RFC7540 Section 8.1.4.
733 
734  // HTTP/2 server didn't respond to the PING message.
736 
737  // Obsolete. Kept here to avoid reuse = as the old error can still appear on
738  // histograms.
739  // CRONET_NET_ERROR_PIPELINE_EVICTION = -353,
740 
741  // The HTTP response body transferred fewer bytes than were advertised by the
742  // Content-Length header when the connection is closed.
744 
745  // The HTTP response body is transferred with Chunked-Encoding = but the
746  // terminating zero-length chunk was never sent when the connection is closed.
748 
749  // There is a QUIC protocol error.
751 
752  // The HTTP headers were truncated by an EOF.
754 
755  // The QUIC crypto handshake failed. This means that the server was unable
756  // to read any requests sent = so they may be resent.
758 
759  // Obsolete. Kept here to avoid reuse = as the old error can still appear on
760  // histograms.
761  // CRONET_NET_ERROR_REQUEST_FOR_SECURE_RESOURCE_OVER_INSECURE_QUIC = -359,
762 
763  // Transport security is inadequate for the HTTP/2 version.
765 
766  // The peer violated HTTP/2 flow control.
768 
769  // The peer sent an improperly sized HTTP/2 frame.
771 
772  // Decoding or encoding of compressed HTTP/2 headers failed.
774 
775  // Proxy Auth Requested without a valid Client Socket Handle.
777 
778  // HTTP_1_1_REQUIRED error code received on HTTP/2 session.
780 
781  // HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy.
783 
784  // The PAC script terminated fatally and must be reloaded.
786 
787  // Obsolete. Kept here to avoid reuse.
788  // Request is throttled because of a Backoff header.
789  // See: crbug.com/486891.
790  // CRONET_NET_ERROR_TEMPORARY_BACKOFF = -369,
791 
792  // The server was expected to return an HTTP/1.x response = but did not.
793  // Rather
794  // than treat it as HTTP/0.9 = this error is returned.
796 
797  // Initializing content decoding failed.
799 
800  // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. This error
801  // should
802  // be handled internally by HTTP/2 code = and should not make it above the
803  // SpdyStream layer.
805 
806  // The pushed stream claimed by the request is no longer available.
808 
809  // A pushed stream was claimed and later reset by the server. When this
810  // happens =
811  // the request should be retried.
813 
814  // An HTTP transaction was retried too many times due for authentication or
815  // invalid certificates. This may be due to a bug in the net stack that would
816  // otherwise infinite loop = or if the server or proxy continually requests
817  // fresh
818  // credentials or presents a fresh invalid certificate.
820 
821  // Received an HTTP/2 frame on a closed stream.
823 
824  // Client is refusing an HTTP/2 stream.
826 
827  // A pushed HTTP/2 stream was claimed by a request based on matching URL and
828  // request headers = but the pushed response headers do not match the request.
830 
831  // The server returned a non-2xx HTTP response code.
832  //
833  // Not that this error is only used by certain APIs that interpret the HTTP
834  // response itself. URLRequest for instance just passes most non-2xx
835  // response back as success.
837 
838  // The certificate presented on a QUIC connection does not chain to a known
839  // root
840  // and the origin connected to is not on a list of domains where unknown roots
841  // are allowed.
843 
844  // The cache does not have the requested entry.
846 
847  // Unable to read from the disk cache.
849 
850  // Unable to write to the disk cache.
852 
853  // The operation is not supported for this entry.
855 
856  // The disk cache is unable to open this entry.
858 
859  // The disk cache is unable to create this entry.
861 
862  // Multiple transactions are racing to create disk cache entries. This is an
863  // internal error returned from the HttpCache to the HttpCacheTransaction that
864  // tells the transaction to restart the entry-creation logic because the state
865  // of the cache has changed.
867 
868  // The cache was unable to read a checksum record on an entry. This can be
869  // returned from attempts to read from the cache. It is an internal error =
870  // returned by the SimpleCache backend = but not by any URLRequest methods
871  // or members.
873 
874  // The cache found an entry with an invalid checksum. This can be returned
875  // from
876  // attempts to read from the cache. It is an internal error = returned by the
877  // SimpleCache backend = but not by any URLRequest methods or members.
879 
880  // Internal error code for the HTTP cache. The cache lock timeout has fired.
882 
883  // Received a challenge after the transaction has read some data = and the
884  // credentials aren't available. There isn't a way to get them at that point.
886 
887  // Internal not-quite error code for the HTTP cache. In-memory hints suggest
888  // that the cache entry would not have been useable with the transaction's
889  // current configuration (e.g. load flags = mode = etc.,
891 
892  // The disk cache is unable to doom this entry.
894 
895  // The disk cache is unable to open or create this entry.
897 
898  // The server's response was insecure (e.g. there was a cert error,.
900 
901  // An attempt to import a client certificate failed = as the user's key
902  // database lacked a corresponding private key.
904 
905  // An error adding a certificate to the OS certificate database.
907 
908  // An error occurred while handling a signed exchange.
910 
911  // An error occurred while handling a Web Bundle source.
913 
914  // A Trust Tokens protocol operation-executing request failed for one of a
915  // number of reasons (precondition failure = internal error = bad response,.
917 
918  // When handling a Trust Tokens protocol operation-executing request = the
919  // system
920  // found that the request's desired Trust Tokens results were already present
921  // in
922  // a local cache; as a result = the main request was cancelled.
924 
925  // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED,. ***
926 
927  // A generic error for failed FTP control connection command.
928  // If possible = please use or add a more specific error code.
930 
931  // The server cannot fulfill the request at this point. This is a temporary
932  // error.
933  // FTP response code 421.
935 
936  // The server has aborted the transfer.
937  // FTP response code 426.
939 
940  // The file is busy = or some other temporary error condition on opening
941  // the file.
942  // FTP response code 450.
944 
945  // Server rejected our command because of syntax errors.
946  // FTP response codes 500 = 501.
948 
949  // Server does not support the command we issued.
950  // FTP response codes 502 = 504.
952 
953  // Server rejected our command because we didn't issue the commands in right
954  // order.
955  // FTP response code 503.
957 
958  // PKCS #12 import failed due to incorrect password.
960 
961  // PKCS #12 import failed due to other error.
963 
964  // CA import failed - not a CA cert.
966 
967  // Import failed - certificate already exists in database.
968  // Note it's a little weird this is an error but reimporting a PKCS12 is ok
969  // (no-op,. That's how Mozilla does it = though.
971 
972  // CA import failed due to some other error.
974 
975  // Server certificate import failed due to some internal error.
977 
978  // PKCS #12 import failed due to invalid MAC.
980 
981  // PKCS #12 import failed due to invalid/corrupt file.
983 
984  // PKCS #12 import failed due to unsupported features.
986 
987  // Key generation failed.
989 
990  // Error -711 was removed (ORIGIN_BOUND_CERT_GENERATION_FAILED,
991 
992  // Failure to export private key.
994 
995  // Self-signed certificate generation failed.
997 
998  // The certificate database changed in some way.
1000 
1001  // Error -715 was removed (CHANNEL_ID_IMPORT_FAILED,
1002 
1003  // DNS error codes.
1004 
1005  // DNS resolver received a malformed response.
1007 
1008  // DNS server requires TCP
1010 
1011  // DNS server failed. This error is returned for all of the following
1012  // error conditions:
1013  // 1 - Format error - The name server was unable to interpret the query.
1014  // 2 - Server failure - The name server was unable to process this query
1015  // due to a problem with the name server.
1016  // 4 - Not Implemented - The name server does not support the requested
1017  // kind of query.
1018  // 5 - Refused - The name server refuses to perform the specified
1019  // operation for policy reasons.
1021 
1022  // DNS transaction timed out.
1024 
1025  // The entry was not found in cache or other local sources = for lookups where
1026  // only local sources were queried.
1028 
1029  // Suffix search list rules prevent resolution of the given host name.
1031 
1032  // Failed to sort addresses according to RFC3484.
1034 
1035  // Error -807 was removed (DNS_HTTP_FAILED,
1036 
1037  // Failed to resolve the hostname of a DNS-over-HTTPS server.
1039 };
1040 
1041 const char* cronet_net_error_as_string(cronet_net_error_code net_error);
1043  cronet_net_error_code net_error);
1044 
1045 #endif /* GRPC_CORE_EXT_TRANSPORT_CRONET_TRANSPORT_CRONET_STATUS_H */
CRONET_NET_ERROR_SOCKET_NOT_CONNECTED
@ CRONET_NET_ERROR_SOCKET_NOT_CONNECTED
Definition: cronet_status.h:88
CRONET_NET_ERROR_FTP_TRANSFER_ABORTED
@ CRONET_NET_ERROR_FTP_TRANSFER_ABORTED
Definition: cronet_status.h:938
CRONET_NET_ERROR_DNS_SERVER_FAILED
@ CRONET_NET_ERROR_DNS_SERVER_FAILED
Definition: cronet_status.h:1020
CRONET_NET_ERROR_SSL_NO_RENEGOTIATION
@ CRONET_NET_ERROR_SSL_NO_RENEGOTIATION
Definition: cronet_status.h:235
CRONET_NET_ERROR_INCOMPLETE_HTTP2_HEADERS
@ CRONET_NET_ERROR_INCOMPLETE_HTTP2_HEADERS
Definition: cronet_status.h:714
CRONET_NET_ERROR_TOO_MANY_RETRIES
@ CRONET_NET_ERROR_TOO_MANY_RETRIES
Definition: cronet_status.h:819
CRONET_NET_ERROR_INSECURE_RESPONSE
@ CRONET_NET_ERROR_INSECURE_RESPONSE
Definition: cronet_status.h:899
CRONET_NET_ERROR_PROXY_CERTIFICATE_INVALID
@ CRONET_NET_ERROR_PROXY_CERTIFICATE_INVALID
Definition: cronet_status.h:278
CRONET_NET_ERROR_FILE_PATH_TOO_LONG
@ CRONET_NET_ERROR_FILE_PATH_TOO_LONG
Definition: cronet_status.h:94
CRONET_NET_ERROR_HTTP2_CLAIMED_PUSHED_STREAM_RESET_BY_SERVER
@ CRONET_NET_ERROR_HTTP2_CLAIMED_PUSHED_STREAM_RESET_BY_SERVER
Definition: cronet_status.h:812
CRONET_NET_ERROR_CERT_NAME_CONSTRAINT_VIOLATION
@ CRONET_NET_ERROR_CERT_NAME_CONSTRAINT_VIOLATION
Definition: cronet_status.h:565
CRONET_NET_ERROR_SSL_DECOMPRESSION_FAILURE_ALERT
@ CRONET_NET_ERROR_SSL_DECOMPRESSION_FAILURE_ALERT
Definition: cronet_status.h:244
CRONET_NET_ERROR_TRUST_TOKEN_OPERATION_CACHE_HIT
@ CRONET_NET_ERROR_TRUST_TOKEN_OPERATION_CACHE_HIT
Definition: cronet_status.h:923
CRONET_NET_ERROR_UNSAFE_PORT
@ CRONET_NET_ERROR_UNSAFE_PORT
Definition: cronet_status.h:623
CRONET_NET_ERROR_SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE
@ CRONET_NET_ERROR_SOCKET_RECEIVE_BUFFER_SIZE_UNCHANGEABLE
Definition: cronet_status.h:372
CRONET_NET_ERROR_PRECONNECT_MAX_SOCKET_LIMIT
@ CRONET_NET_ERROR_PRECONNECT_MAX_SOCKET_LIMIT
Definition: cronet_status.h:269
CRONET_NET_ERROR_SSL_CLIENT_AUTH_SIGNATURE_FAILED
@ CRONET_NET_ERROR_SSL_CLIENT_AUTH_SIGNATURE_FAILED
Definition: cronet_status.h:306
CRONET_NET_ERROR_FTP_SERVICE_UNAVAILABLE
@ CRONET_NET_ERROR_FTP_SERVICE_UNAVAILABLE
Definition: cronet_status.h:934
CRONET_NET_ERROR_NAME_NOT_RESOLVED
@ CRONET_NET_ERROR_NAME_NOT_RESOLVED
Definition: cronet_status.h:169
CRONET_NET_ERROR_NO_SSL_VERSIONS_ENABLED
@ CRONET_NET_ERROR_NO_SSL_VERSIONS_ENABLED
Definition: cronet_status.h:193
CRONET_NET_ERROR_CERT_AUTHORITY_INVALID
@ CRONET_NET_ERROR_CERT_AUTHORITY_INVALID
Definition: cronet_status.h:509
CRONET_NET_ERROR_BLOCKED_BY_ADMINISTRATOR
@ CRONET_NET_ERROR_BLOCKED_BY_ADMINISTRATOR
Definition: cronet_status.h:110
CRONET_NET_ERROR_MANDATORY_PROXY_CONFIGURATION_FAILED
@ CRONET_NET_ERROR_MANDATORY_PROXY_CONFIGURATION_FAILED
Definition: cronet_status.h:263
CRONET_NET_ERROR_SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY
@ CRONET_NET_ERROR_SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY
Definition: cronet_status.h:275
CRONET_NET_ERROR_FILE_TOO_BIG
@ CRONET_NET_ERROR_FILE_TOO_BIG
Definition: cronet_status.h:65
CRONET_NET_ERROR_ENCODING_DETECTION_FAILED
@ CRONET_NET_ERROR_ENCODING_DETECTION_FAILED
Definition: cronet_status.h:690
CRONET_NET_ERROR_SSL_CLIENT_AUTH_CERT_BAD_FORMAT
@ CRONET_NET_ERROR_SSL_CLIENT_AUTH_CERT_BAD_FORMAT
Definition: cronet_status.h:380
CRONET_NET_ERROR_CERT_WEAK_KEY
@ CRONET_NET_ERROR_CERT_WEAK_KEY
Definition: cronet_status.h:561
CRONET_NET_ERROR_SSL_PROTOCOL_ERROR
@ CRONET_NET_ERROR_SSL_PROTOCOL_ERROR
Definition: cronet_status.h:175
CRONET_NET_ERROR_SYN_REPLY_NOT_RECEIVED
@ CRONET_NET_ERROR_SYN_REPLY_NOT_RECEIVED
Definition: cronet_status.h:665
CRONET_NET_ERROR_INVALID_HTTP_RESPONSE
@ CRONET_NET_ERROR_INVALID_HTTP_RESPONSE
Definition: cronet_status.h:795
CRONET_NET_ERROR_INVALID_CHUNKED_ENCODING
@ CRONET_NET_ERROR_INVALID_CHUNKED_ENCODING
Definition: cronet_status.h:629
CRONET_NET_ERROR_CONTENT_DECODING_INIT_FAILED
@ CRONET_NET_ERROR_CONTENT_DECODING_INIT_FAILED
Definition: cronet_status.h:798
CRONET_NET_ERROR_CONNECTION_TIMED_OUT
@ CRONET_NET_ERROR_CONNECTION_TIMED_OUT
Definition: cronet_status.h:217
CRONET_NET_ERROR_CLEARTEXT_NOT_PERMITTED
@ CRONET_NET_ERROR_CLEARTEXT_NOT_PERMITTED
Definition: cronet_status.h:139
CRONET_NET_ERROR_CERT_COMMON_NAME_INVALID
@ CRONET_NET_ERROR_CERT_COMMON_NAME_INVALID
Definition: cronet_status.h:483
CRONET_NET_ERROR_CACHE_ENTRY_NOT_SUITABLE
@ CRONET_NET_ERROR_CACHE_ENTRY_NOT_SUITABLE
Definition: cronet_status.h:890
CRONET_NET_ERROR_PRIVATE_KEY_EXPORT_FAILED
@ CRONET_NET_ERROR_PRIVATE_KEY_EXPORT_FAILED
Definition: cronet_status.h:993
cronet_net_error_to_grpc_error
grpc_status_code cronet_net_error_to_grpc_error(cronet_net_error_code net_error)
Definition: cronet_status.cc:491
CRONET_NET_ERROR_CERT_DATE_INVALID
@ CRONET_NET_ERROR_CERT_DATE_INVALID
Definition: cronet_status.h:495
CRONET_NET_ERROR_CT_STH_INCOMPLETE
@ CRONET_NET_ERROR_CT_STH_INCOMPLETE
Definition: cronet_status.h:402
CRONET_NET_ERROR_HTTP2_SERVER_REFUSED_STREAM
@ CRONET_NET_ERROR_HTTP2_SERVER_REFUSED_STREAM
Definition: cronet_status.h:732
CRONET_NET_ERROR_KEY_GENERATION_FAILED
@ CRONET_NET_ERROR_KEY_GENERATION_FAILED
Definition: cronet_status.h:988
grpc_status_code
grpc_status_code
Definition: include/grpc/impl/codegen/status.h:28
CRONET_NET_ERROR_WINSOCK_UNEXPECTED_WRITTEN_BYTES
@ CRONET_NET_ERROR_WINSOCK_UNEXPECTED_WRITTEN_BYTES
Definition: cronet_status.h:239
CRONET_NET_ERROR_CACHE_READ_FAILURE
@ CRONET_NET_ERROR_CACHE_READ_FAILURE
Definition: cronet_status.h:848
CRONET_NET_ERROR_CERT_UNABLE_TO_CHECK_REVOCATION
@ CRONET_NET_ERROR_CERT_UNABLE_TO_CHECK_REVOCATION
Definition: cronet_status.h:535
CRONET_NET_ERROR_HTTP_RESPONSE_CODE_FAILURE
@ CRONET_NET_ERROR_HTTP_RESPONSE_CODE_FAILURE
Definition: cronet_status.h:836
CRONET_NET_ERROR_TEMPORARILY_THROTTLED
@ CRONET_NET_ERROR_TEMPORARILY_THROTTLED
Definition: cronet_status.h:289
OK
@ OK
Definition: cronet_status.h:43
CRONET_NET_ERROR_CERT_INVALID
@ CRONET_NET_ERROR_CERT_INVALID
Definition: cronet_status.h:548
CRONET_NET_ERROR_INVALID_REDIRECT
@ CRONET_NET_ERROR_INVALID_REDIRECT
Definition: cronet_status.h:608
CRONET_NET_ERROR_DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED
@ CRONET_NET_ERROR_DNS_SECURE_RESOLVER_HOSTNAME_RESOLUTION_FAILED
Definition: cronet_status.h:1038
CRONET_NET_ERROR_SSL_CLIENT_AUTH_CERT_NEEDED
@ CRONET_NET_ERROR_SSL_CLIENT_AUTH_CERT_NEEDED
Definition: cronet_status.h:187
CRONET_NET_ERROR_HTTP2_CLIENT_REFUSED_STREAM
@ CRONET_NET_ERROR_HTTP2_CLIENT_REFUSED_STREAM
Definition: cronet_status.h:825
CRONET_NET_ERROR_CACHE_MISS
@ CRONET_NET_ERROR_CACHE_MISS
Definition: cronet_status.h:845
CRONET_NET_ERROR_TRUST_TOKEN_OPERATION_FAILED
@ CRONET_NET_ERROR_TRUST_TOKEN_OPERATION_FAILED
Definition: cronet_status.h:916
CRONET_NET_ERROR_SSL_VERSION_OR_CIPHER_MISMATCH
@ CRONET_NET_ERROR_SSL_VERSION_OR_CIPHER_MISMATCH
Definition: cronet_status.h:197
CRONET_NET_ERROR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN
@ CRONET_NET_ERROR_SSL_PINNED_KEY_NOT_IN_CERT_CHAIN
Definition: cronet_status.h:335
CRONET_NET_ERROR_ADDRESS_UNREACHABLE
@ CRONET_NET_ERROR_ADDRESS_UNREACHABLE
Definition: cronet_status.h:184
CRONET_NET_ERROR_NETWORK_ACCESS_DENIED
@ CRONET_NET_ERROR_NETWORK_ACCESS_DENIED
Definition: cronet_status.h:286
CRONET_NET_ERROR_SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE
@ CRONET_NET_ERROR_SOCKET_SEND_BUFFER_SIZE_UNCHANGEABLE
Definition: cronet_status.h:376
CRONET_NET_ERROR_MALFORMED_IDENTITY
@ CRONET_NET_ERROR_MALFORMED_IDENTITY
Definition: cronet_status.h:655
cronet_net_error_code
cronet_net_error_code
Definition: cronet_status.h:26
status.h
CRONET_NET_ERROR_CACHE_DOOM_FAILURE
@ CRONET_NET_ERROR_CACHE_DOOM_FAILURE
Definition: cronet_status.h:893
CRONET_NET_ERROR_CACHE_CHECKSUM_READ_FAILURE
@ CRONET_NET_ERROR_CACHE_CHECKSUM_READ_FAILURE
Definition: cronet_status.h:872
CRONET_NET_ERROR_PAC_SCRIPT_TERMINATED
@ CRONET_NET_ERROR_PAC_SCRIPT_TERMINATED
Definition: cronet_status.h:785
CRONET_NET_ERROR_IMPORT_CA_CERT_NOT_CA
@ CRONET_NET_ERROR_IMPORT_CA_CERT_NOT_CA
Definition: cronet_status.h:965
CRONET_NET_ERROR_DNS_SEARCH_EMPTY
@ CRONET_NET_ERROR_DNS_SEARCH_EMPTY
Definition: cronet_status.h:1030
CRONET_NET_ERROR_BAD_SSL_CLIENT_AUTH_CERT
@ CRONET_NET_ERROR_BAD_SSL_CLIENT_AUTH_CERT
Definition: cronet_status.h:214
CRONET_NET_ERROR_CERT_ERROR_IN_SSL_RENEGOTIATION
@ CRONET_NET_ERROR_CERT_ERROR_IN_SSL_RENEGOTIATION
Definition: cronet_status.h:211
CRONET_NET_ERROR_UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH
@ CRONET_NET_ERROR_UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH
Definition: cronet_status.h:409
CRONET_NET_ERROR_PROXY_CONNECTION_FAILED
@ CRONET_NET_ERROR_PROXY_CONNECTION_FAILED
Definition: cronet_status.h:259
CRONET_NET_ERROR_SSL_SERVER_CERT_CHANGED
@ CRONET_NET_ERROR_SSL_SERVER_CERT_CHANGED
Definition: cronet_status.h:354
CRONET_NET_ERROR_RESPONSE_BODY_TOO_BIG_TO_DRAIN
@ CRONET_NET_ERROR_RESPONSE_BODY_TOO_BIG_TO_DRAIN
Definition: cronet_status.h:706
CRONET_NET_ERROR_DNS_CACHE_MISS
@ CRONET_NET_ERROR_DNS_CACHE_MISS
Definition: cronet_status.h:1027
CRONET_NET_ERROR_PKCS12_IMPORT_INVALID_FILE
@ CRONET_NET_ERROR_PKCS12_IMPORT_INVALID_FILE
Definition: cronet_status.h:982
CRONET_NET_ERROR_INVALID_URL
@ CRONET_NET_ERROR_INVALID_URL
Definition: cronet_status.h:599
CRONET_NET_ERROR_DNS_SERVER_REQUIRES_TCP
@ CRONET_NET_ERROR_DNS_SERVER_REQUIRES_TCP
Definition: cronet_status.h:1009
CRONET_NET_ERROR_HTTP2_PUSHED_STREAM_NOT_AVAILABLE
@ CRONET_NET_ERROR_HTTP2_PUSHED_STREAM_NOT_AVAILABLE
Definition: cronet_status.h:807
CRONET_NET_ERROR_ADD_USER_CERT_FAILED
@ CRONET_NET_ERROR_ADD_USER_CERT_FAILED
Definition: cronet_status.h:906
CRONET_NET_ERROR_INSUFFICIENT_RESOURCES
@ CRONET_NET_ERROR_INSUFFICIENT_RESOURCES
Definition: cronet_status.h:78
CRONET_NET_ERROR_WRONG_VERSION_ON_EARLY_DATA
@ CRONET_NET_ERROR_WRONG_VERSION_ON_EARLY_DATA
Definition: cronet_status.h:451
CRONET_NET_ERROR_CONTENT_LENGTH_MISMATCH
@ CRONET_NET_ERROR_CONTENT_LENGTH_MISMATCH
Definition: cronet_status.h:743
CRONET_NET_ERROR_PKCS12_IMPORT_UNSUPPORTED
@ CRONET_NET_ERROR_PKCS12_IMPORT_UNSUPPORTED
Definition: cronet_status.h:985
CRONET_NET_ERROR_EMPTY_RESPONSE
@ CRONET_NET_ERROR_EMPTY_RESPONSE
Definition: cronet_status.h:639
CRONET_NET_ERROR_SSL_BAD_PEER_PUBLIC_KEY
@ CRONET_NET_ERROR_SSL_BAD_PEER_PUBLIC_KEY
Definition: cronet_status.h:329
CRONET_NET_ERROR_CERT_REVOKED
@ CRONET_NET_ERROR_CERT_REVOKED
Definition: cronet_status.h:540
CRONET_NET_ERROR_CACHE_OPEN_OR_CREATE_FAILURE
@ CRONET_NET_ERROR_CACHE_OPEN_OR_CREATE_FAILURE
Definition: cronet_status.h:896
CRONET_NET_ERROR_HTTP2_FRAME_SIZE_ERROR
@ CRONET_NET_ERROR_HTTP2_FRAME_SIZE_ERROR
Definition: cronet_status.h:770
CRONET_NET_ERROR_HTTP2_RST_STREAM_NO_ERROR_RECEIVED
@ CRONET_NET_ERROR_HTTP2_RST_STREAM_NO_ERROR_RECEIVED
Definition: cronet_status.h:804
CRONET_NET_ERROR_ADDRESS_INVALID
@ CRONET_NET_ERROR_ADDRESS_INVALID
Definition: cronet_status.h:179
CRONET_NET_ERROR_CONNECTION_CLOSED
@ CRONET_NET_ERROR_CONNECTION_CLOSED
Definition: cronet_status.h:153
CRONET_NET_ERROR_WS_UPGRADE
@ CRONET_NET_ERROR_WS_UPGRADE
Definition: cronet_status.h:423
CRONET_NET_ERROR_SSL_UNRECOGNIZED_NAME_ALERT
@ CRONET_NET_ERROR_SSL_UNRECOGNIZED_NAME_ALERT
Definition: cronet_status.h:361
CRONET_NET_ERROR_READ_IF_READY_NOT_IMPLEMENTED
@ CRONET_NET_ERROR_READ_IF_READY_NOT_IMPLEMENTED
Definition: cronet_status.h:428
CRONET_NET_ERROR_SSL_RENEGOTIATION_REQUESTED
@ CRONET_NET_ERROR_SSL_RENEGOTIATION_REQUESTED
Definition: cronet_status.h:200
CRONET_NET_ERROR_FILE_VIRUS_INFECTED
@ CRONET_NET_ERROR_FILE_VIRUS_INFECTED
Definition: cronet_status.h:100
CRONET_NET_ERROR_INTERNET_DISCONNECTED
@ CRONET_NET_ERROR_INTERNET_DISCONNECTED
Definition: cronet_status.h:172
CRONET_NET_ERROR_NETWORK_CHANGED
@ CRONET_NET_ERROR_NETWORK_CHANGED
Definition: cronet_status.h:106
CRONET_NET_ERROR_TLS13_DOWNGRADE_DETECTED
@ CRONET_NET_ERROR_TLS13_DOWNGRADE_DETECTED
Definition: cronet_status.h:459
CRONET_NET_ERROR_INSECURE_PRIVATE_NETWORK_REQUEST
@ CRONET_NET_ERROR_INSECURE_PRIVATE_NETWORK_REQUEST
Definition: cronet_status.h:150
CRONET_NET_ERROR_CERT_NON_UNIQUE_NAME
@ CRONET_NET_ERROR_CERT_NON_UNIQUE_NAME
Definition: cronet_status.h:557
CRONET_NET_ERROR_FTP_COMMAND_NOT_SUPPORTED
@ CRONET_NET_ERROR_FTP_COMMAND_NOT_SUPPORTED
Definition: cronet_status.h:951
CRONET_NET_ERROR_UNKNOWN_URL_SCHEME
@ CRONET_NET_ERROR_UNKNOWN_URL_SCHEME
Definition: cronet_status.h:605
CRONET_NET_ERROR_CT_STH_PARSING_FAILED
@ CRONET_NET_ERROR_CT_STH_PARSING_FAILED
Definition: cronet_status.h:397
CRONET_NET_ERROR_CERT_CONTAINS_ERRORS
@ CRONET_NET_ERROR_CERT_CONTAINS_ERRORS
Definition: cronet_status.h:520
CRONET_NET_ERROR_CERT_NO_REVOCATION_MECHANISM
@ CRONET_NET_ERROR_CERT_NO_REVOCATION_MECHANISM
Definition: cronet_status.h:524
CRONET_NET_ERROR_UNDOCUMENTED_SECURITY_LIBRARY_STATUS
@ CRONET_NET_ERROR_UNDOCUMENTED_SECURITY_LIBRARY_STATUS
Definition: cronet_status.h:703
CRONET_NET_ERROR_DNS_MALFORMED_RESPONSE
@ CRONET_NET_ERROR_DNS_MALFORMED_RESPONSE
Definition: cronet_status.h:1006
CRONET_NET_ERROR_CACHE_OPERATION_NOT_SUPPORTED
@ CRONET_NET_ERROR_CACHE_OPERATION_NOT_SUPPORTED
Definition: cronet_status.h:854
CRONET_NET_ERROR_SSL_DECRYPT_ERROR_ALERT
@ CRONET_NET_ERROR_SSL_DECRYPT_ERROR_ALERT
Definition: cronet_status.h:345
CRONET_NET_ERROR_FILE_NO_SPACE
@ CRONET_NET_ERROR_FILE_NO_SPACE
Definition: cronet_status.h:97
CRONET_NET_ERROR_FTP_FILE_BUSY
@ CRONET_NET_ERROR_FTP_FILE_BUSY
Definition: cronet_status.h:943
CRONET_NET_ERROR_HTTP2_PUSHED_RESPONSE_DOES_NOT_MATCH
@ CRONET_NET_ERROR_HTTP2_PUSHED_RESPONSE_DOES_NOT_MATCH
Definition: cronet_status.h:829
CRONET_NET_ERROR_NO_BUFFER_SPACE
@ CRONET_NET_ERROR_NO_BUFFER_SPACE
Definition: cronet_status.h:433
CRONET_NET_ERROR_MSG_TOO_BIG
@ CRONET_NET_ERROR_MSG_TOO_BIG
Definition: cronet_status.h:310
CRONET_NET_ERROR_CONNECTION_FAILED
@ CRONET_NET_ERROR_CONNECTION_FAILED
Definition: cronet_status.h:166
CRONET_NET_ERROR_CONNECTION_REFUSED
@ CRONET_NET_ERROR_CONNECTION_REFUSED
Definition: cronet_status.h:159
CRONET_NET_ERROR_SSL_HANDSHAKE_NOT_COMPLETED
@ CRONET_NET_ERROR_SSL_HANDSHAKE_NOT_COMPLETED
Definition: cronet_status.h:326
CRONET_NET_ERROR_SSL_OBSOLETE_CIPHER
@ CRONET_NET_ERROR_SSL_OBSOLETE_CIPHER
Definition: cronet_status.h:419
CRONET_NET_ERROR_FTP_BAD_COMMAND_SEQUENCE
@ CRONET_NET_ERROR_FTP_BAD_COMMAND_SEQUENCE
Definition: cronet_status.h:956
CRONET_NET_ERROR_SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED
@ CRONET_NET_ERROR_SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED
Definition: cronet_status.h:272
CRONET_NET_ERROR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR
@ CRONET_NET_ERROR_SOCKET_SET_SEND_BUFFER_SIZE_ERROR
Definition: cronet_status.h:367
CRONET_NET_ERROR_NAME_RESOLUTION_FAILED
@ CRONET_NET_ERROR_NAME_RESOLUTION_FAILED
Definition: cronet_status.h:281
CRONET_NET_ERROR_CACHE_WRITE_FAILURE
@ CRONET_NET_ERROR_CACHE_WRITE_FAILURE
Definition: cronet_status.h:851
CRONET_NET_ERROR_PROXY_AUTH_REQUESTED
@ CRONET_NET_ERROR_PROXY_AUTH_REQUESTED
Definition: cronet_status.h:251
CRONET_NET_ERROR_UNEXPECTED
@ CRONET_NET_ERROR_UNEXPECTED
Definition: cronet_status.h:69
CRONET_NET_ERROR_BLOCKED_ENROLLMENT_CHECK_PENDING
@ CRONET_NET_ERROR_BLOCKED_ENROLLMENT_CHECK_PENDING
Definition: cronet_status.h:119
CRONET_NET_ERROR_OUT_OF_MEMORY
@ CRONET_NET_ERROR_OUT_OF_MEMORY
Definition: cronet_status.h:81
CRONET_NET_ERROR_ACCESS_DENIED
@ CRONET_NET_ERROR_ACCESS_DENIED
Definition: cronet_status.h:72
CRONET_NET_ERROR_RESPONSE_HEADERS_MULTIPLE_LOCATION
@ CRONET_NET_ERROR_RESPONSE_HEADERS_MULTIPLE_LOCATION
Definition: cronet_status.h:725
CRONET_NET_ERROR_ABORTED
@ CRONET_NET_ERROR_ABORTED
Definition: cronet_status.h:50
CRONET_NET_ERROR_CONNECTION_ABORTED
@ CRONET_NET_ERROR_CONNECTION_ABORTED
Definition: cronet_status.h:163
CRONET_NET_ERROR_HTTP_1_1_REQUIRED
@ CRONET_NET_ERROR_HTTP_1_1_REQUIRED
Definition: cronet_status.h:779
CRONET_NET_ERROR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
@ CRONET_NET_ERROR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION
Definition: cronet_status.h:722
CRONET_NET_ERROR_CERT_WEAK_SIGNATURE_ALGORITHM
@ CRONET_NET_ERROR_CERT_WEAK_SIGNATURE_ALGORITHM
Definition: cronet_status.h:552
CRONET_NET_ERROR_SSL_OBSOLETE_VERSION
@ CRONET_NET_ERROR_SSL_OBSOLETE_VERSION
Definition: cronet_status.h:588
CRONET_NET_ERROR_INVALID_WEB_BUNDLE
@ CRONET_NET_ERROR_INVALID_WEB_BUNDLE
Definition: cronet_status.h:912
CRONET_NET_ERROR_SELF_SIGNED_CERT_GENERATION_FAILED
@ CRONET_NET_ERROR_SELF_SIGNED_CERT_GENERATION_FAILED
Definition: cronet_status.h:996
CRONET_NET_ERROR_TOO_MANY_REDIRECTS
@ CRONET_NET_ERROR_TOO_MANY_REDIRECTS
Definition: cronet_status.h:611
CRONET_NET_ERROR_NOT_IMPLEMENTED
@ CRONET_NET_ERROR_NOT_IMPLEMENTED
Definition: cronet_status.h:75
CRONET_NET_ERROR_PKCS12_IMPORT_FAILED
@ CRONET_NET_ERROR_PKCS12_IMPORT_FAILED
Definition: cronet_status.h:962
CRONET_NET_ERROR_HTTP2_PING_FAILED
@ CRONET_NET_ERROR_HTTP2_PING_FAILED
Definition: cronet_status.h:735
CRONET_NET_ERROR_INVALID_HANDLE
@ CRONET_NET_ERROR_INVALID_HANDLE
Definition: cronet_status.h:56
CRONET_NET_ERROR_DNS_TIMED_OUT
@ CRONET_NET_ERROR_DNS_TIMED_OUT
Definition: cronet_status.h:1023
CRONET_NET_ERROR_MISCONFIGURED_AUTH_ENVIRONMENT
@ CRONET_NET_ERROR_MISCONFIGURED_AUTH_ENVIRONMENT
Definition: cronet_status.h:700
CRONET_NET_ERROR_PAC_NOT_IN_DHCP
@ CRONET_NET_ERROR_PAC_NOT_IN_DHCP
Definition: cronet_status.h:719
CRONET_NET_ERROR_UNSUPPORTED_AUTH_SCHEME
@ CRONET_NET_ERROR_UNSUPPORTED_AUTH_SCHEME
Definition: cronet_status.h:687
CRONET_NET_ERROR_CLIENT_AUTH_CERT_TYPE_UNSUPPORTED
@ CRONET_NET_ERROR_CLIENT_AUTH_CERT_TYPE_UNSUPPORTED
Definition: cronet_status.h:338
CRONET_NET_ERROR_METHOD_NOT_SUPPORTED
@ CRONET_NET_ERROR_METHOD_NOT_SUPPORTED
Definition: cronet_status.h:632
CRONET_NET_ERROR_HTTP2_FLOW_CONTROL_ERROR
@ CRONET_NET_ERROR_HTTP2_FLOW_CONTROL_ERROR
Definition: cronet_status.h:767
CRONET_NET_ERROR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR
@ CRONET_NET_ERROR_SOCKET_SET_RECEIVE_BUFFER_SIZE_ERROR
Definition: cronet_status.h:364
CRONET_NET_ERROR_INVALID_SIGNED_EXCHANGE
@ CRONET_NET_ERROR_INVALID_SIGNED_EXCHANGE
Definition: cronet_status.h:909
CRONET_NET_ERROR_CONNECTION_RESET
@ CRONET_NET_ERROR_CONNECTION_RESET
Definition: cronet_status.h:156
CRONET_NET_ERROR_PAC_SCRIPT_FAILED
@ CRONET_NET_ERROR_PAC_SCRIPT_FAILED
Definition: cronet_status.h:647
CRONET_NET_ERROR_SSL_SERVER_CERT_BAD_FORMAT
@ CRONET_NET_ERROR_SSL_SERVER_CERT_BAD_FORMAT
Definition: cronet_status.h:394
CRONET_NET_ERROR_QUIC_CERT_ROOT_NOT_KNOWN
@ CRONET_NET_ERROR_QUIC_CERT_ROOT_NOT_KNOWN
Definition: cronet_status.h:842
CRONET_NET_ERROR_UNSAFE_REDIRECT
@ CRONET_NET_ERROR_UNSAFE_REDIRECT
Definition: cronet_status.h:615
CRONET_NET_ERROR_IMPORT_CA_CERT_FAILED
@ CRONET_NET_ERROR_IMPORT_CA_CERT_FAILED
Definition: cronet_status.h:973
CRONET_NET_ERROR_QUIC_PROTOCOL_ERROR
@ CRONET_NET_ERROR_QUIC_PROTOCOL_ERROR
Definition: cronet_status.h:750
CRONET_NET_ERROR_CONTENT_DECODING_FAILED
@ CRONET_NET_ERROR_CONTENT_DECODING_FAILED
Definition: cronet_status.h:658
CRONET_NET_ERROR_PKCS12_IMPORT_INVALID_MAC
@ CRONET_NET_ERROR_PKCS12_IMPORT_INVALID_MAC
Definition: cronet_status.h:979
CRONET_NET_ERROR_HTTP2_STREAM_CLOSED
@ CRONET_NET_ERROR_HTTP2_STREAM_CLOSED
Definition: cronet_status.h:822
CRONET_NET_ERROR_FTP_SYNTAX_ERROR
@ CRONET_NET_ERROR_FTP_SYNTAX_ERROR
Definition: cronet_status.h:947
CRONET_NET_ERROR_INVALID_ARGUMENT
@ CRONET_NET_ERROR_INVALID_ARGUMENT
Definition: cronet_status.h:53
CRONET_NET_ERROR_NO_PRIVATE_KEY_FOR_CERT
@ CRONET_NET_ERROR_NO_PRIVATE_KEY_FOR_CERT
Definition: cronet_status.h:903
CRONET_NET_ERROR_ALPN_NEGOTIATION_FAILED
@ CRONET_NET_ERROR_ALPN_NEGOTIATION_FAILED
Definition: cronet_status.h:232
cronet_net_error_as_string
const char * cronet_net_error_as_string(cronet_net_error_code net_error)
Definition: cronet_status.cc:23
CRONET_NET_ERROR_CACHE_CHECKSUM_MISMATCH
@ CRONET_NET_ERROR_CACHE_CHECKSUM_MISMATCH
Definition: cronet_status.h:878
CRONET_NET_ERROR_SOCKS_CONNECTION_HOST_UNREACHABLE
@ CRONET_NET_ERROR_SOCKS_CONNECTION_HOST_UNREACHABLE
Definition: cronet_status.h:229
CRONET_NET_ERROR_EARLY_DATA_REJECTED
@ CRONET_NET_ERROR_EARLY_DATA_REJECTED
Definition: cronet_status.h:442
CRONET_NET_ERROR_CERT_KNOWN_INTERCEPTION_BLOCKED
@ CRONET_NET_ERROR_CERT_KNOWN_INTERCEPTION_BLOCKED
Definition: cronet_status.h:585
CRONET_NET_ERROR_WS_PROTOCOL_ERROR
@ CRONET_NET_ERROR_WS_PROTOCOL_ERROR
Definition: cronet_status.h:318
CRONET_NET_ERROR_CONTEXT_SHUT_DOWN
@ CRONET_NET_ERROR_CONTEXT_SHUT_DOWN
Definition: cronet_status.h:127
CRONET_NET_ERROR_FTP_FAILED
@ CRONET_NET_ERROR_FTP_FAILED
Definition: cronet_status.h:929
CRONET_NET_ERROR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
@ CRONET_NET_ERROR_RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH
Definition: cronet_status.h:709
CRONET_NET_ERROR_RESPONSE_HEADERS_TRUNCATED
@ CRONET_NET_ERROR_RESPONSE_HEADERS_TRUNCATED
Definition: cronet_status.h:753
CRONET_NET_ERROR_INVALID_AUTH_CREDENTIALS
@ CRONET_NET_ERROR_INVALID_AUTH_CREDENTIALS
Definition: cronet_status.h:683
CRONET_NET_ERROR_HTTP2_INADEQUATE_TRANSPORT_SECURITY
@ CRONET_NET_ERROR_HTTP2_INADEQUATE_TRANSPORT_SECURITY
Definition: cronet_status.h:764
CRONET_NET_ERROR_TUNNEL_CONNECTION_FAILED
@ CRONET_NET_ERROR_TUNNEL_CONNECTION_FAILED
Definition: cronet_status.h:190
CRONET_NET_ERROR_CACHE_AUTH_FAILURE_AFTER_READ
@ CRONET_NET_ERROR_CACHE_AUTH_FAILURE_AFTER_READ
Definition: cronet_status.h:885
CRONET_NET_ERROR_FILE_EXISTS
@ CRONET_NET_ERROR_FILE_EXISTS
Definition: cronet_status.h:91
CRONET_NET_ERROR_PROXY_HTTP_1_1_REQUIRED
@ CRONET_NET_ERROR_PROXY_HTTP_1_1_REQUIRED
Definition: cronet_status.h:782
CRONET_NET_ERROR_CACHE_LOCK_TIMEOUT
@ CRONET_NET_ERROR_CACHE_LOCK_TIMEOUT
Definition: cronet_status.h:881
CRONET_NET_ERROR_CT_CONSISTENCY_PROOF_PARSING_FAILED
@ CRONET_NET_ERROR_CT_CONSISTENCY_PROOF_PARSING_FAILED
Definition: cronet_status.h:412
CRONET_NET_ERROR_FAILED
@ CRONET_NET_ERROR_FAILED
Definition: cronet_status.h:47
CRONET_NET_ERROR_BLOCKED_BY_CLIENT
@ CRONET_NET_ERROR_BLOCKED_BY_CLIENT
Definition: cronet_status.h:103
CRONET_NET_ERROR_UPLOAD_FILE_CHANGED
@ CRONET_NET_ERROR_UPLOAD_FILE_CHANGED
Definition: cronet_status.h:85
CRONET_NET_ERROR_IMPORT_SERVER_CERT_FAILED
@ CRONET_NET_ERROR_IMPORT_SERVER_CERT_FAILED
Definition: cronet_status.h:976
CRONET_NET_ERROR_REQUEST_RANGE_NOT_SATISFIABLE
@ CRONET_NET_ERROR_REQUEST_RANGE_NOT_SATISFIABLE
Definition: cronet_status.h:652
CRONET_NET_ERROR_SSL_KEY_USAGE_INCOMPATIBLE
@ CRONET_NET_ERROR_SSL_KEY_USAGE_INCOMPATIBLE
Definition: cronet_status.h:463
CRONET_NET_ERROR_SSL_BAD_RECORD_MAC_ALERT
@ CRONET_NET_ERROR_SSL_BAD_RECORD_MAC_ALERT
Definition: cronet_status.h:248
CRONET_NET_ERROR_ICANN_NAME_COLLISION
@ CRONET_NET_ERROR_ICANN_NAME_COLLISION
Definition: cronet_status.h:388
CRONET_NET_ERROR_CACHE_RACE
@ CRONET_NET_ERROR_CACHE_RACE
Definition: cronet_status.h:866
CRONET_NET_ERROR_INCOMPLETE_CHUNKED_ENCODING
@ CRONET_NET_ERROR_INCOMPLETE_CHUNKED_ENCODING
Definition: cronet_status.h:747
CRONET_NET_ERROR_SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS
@ CRONET_NET_ERROR_SSL_CLIENT_AUTH_NO_COMMON_ALGORITHMS
Definition: cronet_status.h:437
CRONET_NET_ERROR_BLOCKED_BY_CSP
@ CRONET_NET_ERROR_BLOCKED_BY_CSP
Definition: cronet_status.h:142
CRONET_NET_ERROR_HOST_RESOLVER_QUEUE_TOO_LARGE
@ CRONET_NET_ERROR_HOST_RESOLVER_QUEUE_TOO_LARGE
Definition: cronet_status.h:221
CRONET_NET_ERROR_CERT_VALIDITY_TOO_LONG
@ CRONET_NET_ERROR_CERT_VALIDITY_TOO_LONG
Definition: cronet_status.h:568
CRONET_NET_ERROR_TIMED_OUT
@ CRONET_NET_ERROR_TIMED_OUT
Definition: cronet_status.h:62
CRONET_NET_ERROR_CERT_SYMANTEC_LEGACY
@ CRONET_NET_ERROR_CERT_SYMANTEC_LEGACY
Definition: cronet_status.h:577
CRONET_NET_ERROR_PROXY_AUTH_UNSUPPORTED
@ CRONET_NET_ERROR_PROXY_AUTH_UNSUPPORTED
Definition: cronet_status.h:204
CRONET_NET_ERROR_HTTP2_PROTOCOL_ERROR
@ CRONET_NET_ERROR_HTTP2_PROTOCOL_ERROR
Definition: cronet_status.h:680
CRONET_NET_ERROR_CERTIFICATE_TRANSPARENCY_REQUIRED
@ CRONET_NET_ERROR_CERTIFICATE_TRANSPARENCY_REQUIRED
Definition: cronet_status.h:572
CRONET_NET_ERROR_NO_SUPPORTED_PROXIES
@ CRONET_NET_ERROR_NO_SUPPORTED_PROXIES
Definition: cronet_status.h:677
CRONET_NET_ERROR_RESPONSE_HEADERS_TOO_BIG
@ CRONET_NET_ERROR_RESPONSE_HEADERS_TOO_BIG
Definition: cronet_status.h:642
CRONET_NET_ERROR_FILE_NOT_FOUND
@ CRONET_NET_ERROR_FILE_NOT_FOUND
Definition: cronet_status.h:59
CRONET_NET_ERROR_H2_OR_QUIC_REQUIRED
@ CRONET_NET_ERROR_H2_OR_QUIC_REQUIRED
Definition: cronet_status.h:145
CRONET_NET_ERROR_NETWORK_IO_SUSPENDED
@ CRONET_NET_ERROR_NETWORK_IO_SUSPENDED
Definition: cronet_status.h:662
CRONET_NET_ERROR_DISALLOWED_URL_SCHEME
@ CRONET_NET_ERROR_DISALLOWED_URL_SCHEME
Definition: cronet_status.h:602
CRONET_NET_ERROR_CERT_DATABASE_CHANGED
@ CRONET_NET_ERROR_CERT_DATABASE_CHANGED
Definition: cronet_status.h:999
CRONET_NET_ERROR_WS_THROTTLE_QUEUE_TOO_LARGE
@ CRONET_NET_ERROR_WS_THROTTLE_QUEUE_TOO_LARGE
Definition: cronet_status.h:349
CRONET_NET_ERROR_SOCKET_IS_CONNECTED
@ CRONET_NET_ERROR_SOCKET_IS_CONNECTED
Definition: cronet_status.h:113
CRONET_NET_ERROR_UPLOAD_STREAM_REWIND_NOT_SUPPORTED
@ CRONET_NET_ERROR_UPLOAD_STREAM_REWIND_NOT_SUPPORTED
Definition: cronet_status.h:123
CRONET_NET_ERROR_CERT_END
@ CRONET_NET_ERROR_CERT_END
Definition: cronet_status.h:596
CRONET_NET_ERROR_ADDRESS_IN_USE
@ CRONET_NET_ERROR_ADDRESS_IN_USE
Definition: cronet_status.h:323
CRONET_NET_ERROR_CACHE_OPEN_FAILURE
@ CRONET_NET_ERROR_CACHE_OPEN_FAILURE
Definition: cronet_status.h:857
CRONET_NET_ERROR_QUIC_HANDSHAKE_FAILED
@ CRONET_NET_ERROR_QUIC_HANDSHAKE_FAILED
Definition: cronet_status.h:757
CRONET_NET_ERROR_IO_PENDING
@ CRONET_NET_ERROR_IO_PENDING
Definition: cronet_status.h:44
CRONET_NET_ERROR_UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT
@ CRONET_NET_ERROR_UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT
Definition: cronet_status.h:671
CRONET_NET_ERROR_UNEXPECTED_SECURITY_LIBRARY_STATUS
@ CRONET_NET_ERROR_UNEXPECTED_SECURITY_LIBRARY_STATUS
Definition: cronet_status.h:696
CRONET_NET_ERROR_DNS_SORT_ERROR
@ CRONET_NET_ERROR_DNS_SORT_ERROR
Definition: cronet_status.h:1033
CRONET_NET_ERROR_UNEXPECTED_PROXY_AUTH
@ CRONET_NET_ERROR_UNEXPECTED_PROXY_AUTH
Definition: cronet_status.h:636
CRONET_NET_ERROR_INVALID_RESPONSE
@ CRONET_NET_ERROR_INVALID_RESPONSE
Definition: cronet_status.h:626
CRONET_NET_ERROR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT
@ CRONET_NET_ERROR_HTTPS_PROXY_TUNNEL_RESPONSE_REDIRECT
Definition: cronet_status.h:297
CRONET_NET_ERROR_ENCODING_CONVERSION_FAILED
@ CRONET_NET_ERROR_ENCODING_CONVERSION_FAILED
Definition: cronet_status.h:668
CRONET_NET_ERROR_IMPORT_CERT_ALREADY_EXISTS
@ CRONET_NET_ERROR_IMPORT_CERT_ALREADY_EXISTS
Definition: cronet_status.h:970
CRONET_NET_ERROR_PKCS12_IMPORT_BAD_PASSWORD
@ CRONET_NET_ERROR_PKCS12_IMPORT_BAD_PASSWORD
Definition: cronet_status.h:959
CRONET_NET_ERROR_PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION
@ CRONET_NET_ERROR_PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION
Definition: cronet_status.h:776
CRONET_NET_ERROR_BLOCKED_BY_RESPONSE
@ CRONET_NET_ERROR_BLOCKED_BY_RESPONSE
Definition: cronet_status.h:133
CRONET_NET_ERROR_SOCKS_CONNECTION_FAILED
@ CRONET_NET_ERROR_SOCKS_CONNECTION_FAILED
Definition: cronet_status.h:225
CRONET_NET_ERROR_HTTP2_COMPRESSION_ERROR
@ CRONET_NET_ERROR_HTTP2_COMPRESSION_ERROR
Definition: cronet_status.h:773
port_platform.h
CRONET_NET_ERROR_CACHE_CREATE_FAILURE
@ CRONET_NET_ERROR_CACHE_CREATE_FAILURE
Definition: cronet_status.h:860
CRONET_NET_ERROR_MISSING_AUTH_CREDENTIALS
@ CRONET_NET_ERROR_MISSING_AUTH_CREDENTIALS
Definition: cronet_status.h:693


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:59:00