OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 Helium error codes. | |
9 | |
10 HELIUM_ERROR(INTERNAL_ERROR, 1) | |
11 | |
12 // The operation could not be performed because the connection to the peer was | 8 // The operation could not be performed because the connection to the peer was |
13 // lost. | 9 // lost. |
14 HELIUM_ERROR(DISCONNECTED, 2) | 10 HELIUM_ERROR(DISCONNECTED, 1) |
| 11 |
| 12 // The remote end provided data which is not compliant with the protocol. |
| 13 HELIUM_ERROR(PROTOCOL_ERROR, 2) |
| 14 |
OLD | NEW |