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 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
672 | 672 |
673 // Obsolete. Kept here to avoid reuse. | 673 // Obsolete. Kept here to avoid reuse. |
674 // Request is throttled because of a Backoff header. | 674 // Request is throttled because of a Backoff header. |
675 // See: crbug.com/486891. | 675 // See: crbug.com/486891. |
676 // NET_ERROR(TEMPORARY_BACKOFF, -369) | 676 // NET_ERROR(TEMPORARY_BACKOFF, -369) |
677 | 677 |
678 // The server was expected to return an HTTP/1.x response, but did not. Rather | 678 // The server was expected to return an HTTP/1.x response, but did not. Rather |
679 // than treat it as HTTP/0.9, this error is returned. | 679 // than treat it as HTTP/0.9, this error is returned. |
680 NET_ERROR(INVALID_HTTP_RESPONSE, -370) | 680 NET_ERROR(INVALID_HTTP_RESPONSE, -370) |
681 | 681 |
682 // Received HTTP/2 RST_STREAM frame with NO_ERROR error code. | |
mmenke
2016/10/25 17:15:30
Driveby nit: Worth mentioning it's only used inte
Bence
2016/10/25 22:11:24
Done.
| |
683 NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -371) | |
684 | |
682 // The cache does not have the requested entry. | 685 // The cache does not have the requested entry. |
683 NET_ERROR(CACHE_MISS, -400) | 686 NET_ERROR(CACHE_MISS, -400) |
684 | 687 |
685 // Unable to read from the disk cache. | 688 // Unable to read from the disk cache. |
686 NET_ERROR(CACHE_READ_FAILURE, -401) | 689 NET_ERROR(CACHE_READ_FAILURE, -401) |
687 | 690 |
688 // Unable to write to the disk cache. | 691 // Unable to write to the disk cache. |
689 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 692 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
690 | 693 |
691 // The operation is not supported for this entry. | 694 // The operation is not supported for this entry. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
832 NET_ERROR(DNS_TIMED_OUT, -803) | 835 NET_ERROR(DNS_TIMED_OUT, -803) |
833 | 836 |
834 // The entry was not found in cache, for cache-only lookups. | 837 // The entry was not found in cache, for cache-only lookups. |
835 NET_ERROR(DNS_CACHE_MISS, -804) | 838 NET_ERROR(DNS_CACHE_MISS, -804) |
836 | 839 |
837 // Suffix search list rules prevent resolution of the given host name. | 840 // Suffix search list rules prevent resolution of the given host name. |
838 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 841 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
839 | 842 |
840 // Failed to sort addresses according to RFC3484. | 843 // Failed to sort addresses according to RFC3484. |
841 NET_ERROR(DNS_SORT_ERROR, -806) | 844 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |