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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
655 // The server's response was insecure (e.g. there was a cert error). | 655 // The server's response was insecure (e.g. there was a cert error). |
656 NET_ERROR(INSECURE_RESPONSE, -501) | 656 NET_ERROR(INSECURE_RESPONSE, -501) |
657 | 657 |
658 // The server responded to a <keygen> with a generated client cert that we | 658 // The server responded to a <keygen> with a generated client cert that we |
659 // don't have the matching private key for. | 659 // don't have the matching private key for. |
660 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 660 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
661 | 661 |
662 // An error adding to the OS certificate database (e.g. OS X Keychain). | 662 // An error adding to the OS certificate database (e.g. OS X Keychain). |
663 NET_ERROR(ADD_USER_CERT_FAILED, -503) | 663 NET_ERROR(ADD_USER_CERT_FAILED, -503) |
664 | 664 |
665 // Some problems with SDCH occur. | |
666 NET_ERROR(SDCH_PROBLEM, -504) | |
Randy Smith (Not in Mondays)
2014/09/18 20:55:51
I don't think this is used anymore; remove?
baranovich
2014/09/19 12:42:44
No, it is still used by net-internals code. I need
Randy Smith (Not in Mondays)
2014/09/29 21:21:57
Ah, gotcha, that makes sense.
I could imagine you
baranovich
2014/09/30 13:16:51
Done. Using ERR_FAILED instead
| |
667 | |
665 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** | 668 // *** Code -600 is reserved (was FTP_PASV_COMMAND_FAILED). *** |
666 | 669 |
667 // A generic error for failed FTP control connection command. | 670 // A generic error for failed FTP control connection command. |
668 // If possible, please use or add a more specific error code. | 671 // If possible, please use or add a more specific error code. |
669 NET_ERROR(FTP_FAILED, -601) | 672 NET_ERROR(FTP_FAILED, -601) |
670 | 673 |
671 // The server cannot fulfill the request at this point. This is a temporary | 674 // The server cannot fulfill the request at this point. This is a temporary |
672 // error. | 675 // error. |
673 // FTP response code 421. | 676 // FTP response code 421. |
674 NET_ERROR(FTP_SERVICE_UNAVAILABLE, -602) | 677 NET_ERROR(FTP_SERVICE_UNAVAILABLE, -602) |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
765 NET_ERROR(DNS_TIMED_OUT, -803) | 768 NET_ERROR(DNS_TIMED_OUT, -803) |
766 | 769 |
767 // The entry was not found in cache, for cache-only lookups. | 770 // The entry was not found in cache, for cache-only lookups. |
768 NET_ERROR(DNS_CACHE_MISS, -804) | 771 NET_ERROR(DNS_CACHE_MISS, -804) |
769 | 772 |
770 // Suffix search list rules prevent resolution of the given host name. | 773 // Suffix search list rules prevent resolution of the given host name. |
771 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 774 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
772 | 775 |
773 // Failed to sort addresses according to RFC3484. | 776 // Failed to sort addresses according to RFC3484. |
774 NET_ERROR(DNS_SORT_ERROR, -806) | 777 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |