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 values. | 6 // inside a macro to generate enum values. |
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 722 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
733 // Internal error code for the HTTP cache. The cache lock timeout has fired. | 733 // Internal error code for the HTTP cache. The cache lock timeout has fired. |
734 NET_ERROR(CACHE_LOCK_TIMEOUT, -409) | 734 NET_ERROR(CACHE_LOCK_TIMEOUT, -409) |
735 | 735 |
736 // Received a challenge after the transaction has read some data, and the | 736 // Received a challenge after the transaction has read some data, and the |
737 // credentials aren't available. There isn't a way to get them at that point. | 737 // credentials aren't available. There isn't a way to get them at that point. |
738 NET_ERROR(CACHE_AUTH_FAILURE_AFTER_READ, -410) | 738 NET_ERROR(CACHE_AUTH_FAILURE_AFTER_READ, -410) |
739 | 739 |
740 // The server's response was insecure (e.g. there was a cert error). | 740 // The server's response was insecure (e.g. there was a cert error). |
741 NET_ERROR(INSECURE_RESPONSE, -501) | 741 NET_ERROR(INSECURE_RESPONSE, -501) |
742 | 742 |
743 // The server responded to a <keygen> with a generated client cert that we | 743 // An attempt to import a client certificate failed, as the user's key |
744 // don't have the matching private key for. | 744 // database lacked a corresponding private key. |
745 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 745 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
746 | 746 |
747 // An error adding to the OS certificate database (e.g. OS X Keychain). | 747 // An error adding a certificate to the OS certificate database. |
748 NET_ERROR(ADD_USER_CERT_FAILED, -503) | 748 NET_ERROR(ADD_USER_CERT_FAILED, -503) |
749 | 749 |
750 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** | 750 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** |
751 | 751 |
752 // A generic error for failed FTP control connection command. | 752 // A generic error for failed FTP control connection command. |
753 // If possible, please use or add a more specific error code. | 753 // If possible, please use or add a more specific error code. |
754 NET_ERROR(FTP_FAILED, -601) | 754 NET_ERROR(FTP_FAILED, -601) |
755 | 755 |
756 // The server cannot fulfill the request at this point. This is a temporary | 756 // The server cannot fulfill the request at this point. This is a temporary |
757 // error. | 757 // error. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
848 NET_ERROR(DNS_TIMED_OUT, -803) | 848 NET_ERROR(DNS_TIMED_OUT, -803) |
849 | 849 |
850 // The entry was not found in cache, for cache-only lookups. | 850 // The entry was not found in cache, for cache-only lookups. |
851 NET_ERROR(DNS_CACHE_MISS, -804) | 851 NET_ERROR(DNS_CACHE_MISS, -804) |
852 | 852 |
853 // Suffix search list rules prevent resolution of the given host name. | 853 // Suffix search list rules prevent resolution of the given host name. |
854 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 854 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
855 | 855 |
856 // Failed to sort addresses according to RFC3484. | 856 // Failed to sort addresses according to RFC3484. |
857 NET_ERROR(DNS_SORT_ERROR, -806) | 857 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |