OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 | 611 |
612 // PKCS #12 import failed due to invalid/corrupt file. | 612 // PKCS #12 import failed due to invalid/corrupt file. |
613 NET_ERROR(PKCS12_IMPORT_INVALID_FILE, -708) | 613 NET_ERROR(PKCS12_IMPORT_INVALID_FILE, -708) |
614 | 614 |
615 // PKCS #12 import failed due to unsupported features. | 615 // PKCS #12 import failed due to unsupported features. |
616 NET_ERROR(PKCS12_IMPORT_UNSUPPORTED, -709) | 616 NET_ERROR(PKCS12_IMPORT_UNSUPPORTED, -709) |
617 | 617 |
618 // Key generation failed. | 618 // Key generation failed. |
619 NET_ERROR(KEY_GENERATION_FAILED, -710) | 619 NET_ERROR(KEY_GENERATION_FAILED, -710) |
620 | 620 |
621 // Origin-bound certificate generation failed. | 621 // Server-bound certificate generation failed. |
622 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) | 622 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) |
623 | 623 |
624 // Failure to export private key. | 624 // Failure to export private key. |
625 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) | 625 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) |
626 | 626 |
627 // DNS error codes. | 627 // DNS error codes. |
628 | 628 |
629 // DNS resolver received a malformed response. | 629 // DNS resolver received a malformed response. |
630 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) | 630 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) |
631 | 631 |
632 // DNS server requires TCP | 632 // DNS server requires TCP |
633 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) | 633 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) |
634 | 634 |
635 // DNS server failed. This error is returned for all of the following | 635 // DNS server failed. This error is returned for all of the following |
636 // error conditions: | 636 // error conditions: |
637 // 1 - Format error - The name server was unable to interpret the query. | 637 // 1 - Format error - The name server was unable to interpret the query. |
638 // 2 - Server failure - The name server was unable to process this query | 638 // 2 - Server failure - The name server was unable to process this query |
639 // due to a problem with the name server. | 639 // due to a problem with the name server. |
640 // 4 - Not Implemented - The name server does not support the requested | 640 // 4 - Not Implemented - The name server does not support the requested |
641 // kind of query. | 641 // kind of query. |
642 // 5 - Refused - The name server refuses to perform the specified | 642 // 5 - Refused - The name server refuses to perform the specified |
643 // operation for policy reasons. | 643 // operation for policy reasons. |
644 NET_ERROR(DNS_SERVER_FAILED, -802) | 644 NET_ERROR(DNS_SERVER_FAILED, -802) |
645 | 645 |
646 // DNS transaction timed out. | 646 // DNS transaction timed out. |
647 NET_ERROR(DNS_TIMED_OUT, -803) | 647 NET_ERROR(DNS_TIMED_OUT, -803) |
648 | 648 |
649 // The entry was not found in cache, for cache-only lookups. | 649 // The entry was not found in cache, for cache-only lookups. |
650 NET_ERROR(DNS_CACHE_MISS, -804) | 650 NET_ERROR(DNS_CACHE_MISS, -804) |
OLD | NEW |