OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // This file intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
6 // inside a macro to generate enum. | 6 // inside a macro to generate enum. |
7 | 7 |
8 // This file contains the list of network errors. | 8 // This file contains the list of network errors. |
9 | 9 |
10 // | 10 // |
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
606 | 606 |
607 // Key generation failed. | 607 // Key generation failed. |
608 NET_ERROR(KEY_GENERATION_FAILED, -710) | 608 NET_ERROR(KEY_GENERATION_FAILED, -710) |
609 | 609 |
610 // Origin-bound certificate generation failed. | 610 // Origin-bound certificate generation failed. |
611 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) | 611 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) |
612 | 612 |
613 // Failure to export private key. | 613 // Failure to export private key. |
614 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) | 614 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) |
615 | 615 |
616 // Failure to get certificate bytes. | |
617 NET_ERROR(GET_CERT_BYTES_FAILED, -713) | |
wtc
2011/10/17 23:14:31
In general we can't remove an error code without r
| |
618 | |
619 // DNS error codes. | 616 // DNS error codes. |
620 | 617 |
621 // DNS resolver received a malformed response. | 618 // DNS resolver received a malformed response. |
622 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) | 619 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) |
623 | 620 |
624 // DNS server requires TCP | 621 // DNS server requires TCP |
625 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) | 622 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) |
626 | 623 |
627 // DNS server failed. This error is returned for all of the following | 624 // DNS server failed. This error is returned for all of the following |
628 // error conditions: | 625 // error conditions: |
629 // 1 - Format error - The name server was unable to interpret the query. | 626 // 1 - Format error - The name server was unable to interpret the query. |
630 // 2 - Server failure - The name server was unable to process this query | 627 // 2 - Server failure - The name server was unable to process this query |
631 // due to a problem with the name server. | 628 // due to a problem with the name server. |
632 // 4 - Not Implemented - The name server does not support the requested | 629 // 4 - Not Implemented - The name server does not support the requested |
633 // kind of query. | 630 // kind of query. |
634 // 5 - Refused - The name server refuses to perform the specified | 631 // 5 - Refused - The name server refuses to perform the specified |
635 // operation for policy reasons. | 632 // operation for policy reasons. |
636 NET_ERROR(DNS_SERVER_FAILED, -802) | 633 NET_ERROR(DNS_SERVER_FAILED, -802) |
637 | 634 |
638 // DNS transaction timed out. | 635 // DNS transaction timed out. |
639 NET_ERROR(DNS_TIMED_OUT, -803) | 636 NET_ERROR(DNS_TIMED_OUT, -803) |
640 | 637 |
641 // The entry was not found in cache, for cache-only lookups. | 638 // The entry was not found in cache, for cache-only lookups. |
642 NET_ERROR(DNS_CACHE_MISS, -804) | 639 NET_ERROR(DNS_CACHE_MISS, -804) |
OLD | NEW |