OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /// Exit code constants. | 5 /// Exit code constants. |
6 /// | 6 /// |
7 /// From [the BSD sysexits manpage][manpage]. Not every constant here is used. | 7 /// From [the BSD sysexits manpage][manpage]. Not every constant here is used. |
8 /// | 8 /// |
9 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits | 9 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits |
10 library unittest.util.exit_codes; | 10 library test.util.exit_codes; |
11 | 11 |
12 /// The command completely successfully. | 12 /// The command completely successfully. |
13 const success = 0; | 13 const success = 0; |
14 | 14 |
15 /// The command was used incorrectly. | 15 /// The command was used incorrectly. |
16 const usage = 64; | 16 const usage = 64; |
17 | 17 |
18 /// The input data was incorrect. | 18 /// The input data was incorrect. |
19 const data = 65; | 19 const data = 65; |
20 | 20 |
(...skipping 28 matching lines...) Expand all Loading... |
49 const tempFail = 75; | 49 const tempFail = 75; |
50 | 50 |
51 /// The remote system returned something invalid during a protocol exchange. | 51 /// The remote system returned something invalid during a protocol exchange. |
52 const protocol = 76; | 52 const protocol = 76; |
53 | 53 |
54 /// The user did not have sufficient permissions. | 54 /// The user did not have sufficient permissions. |
55 const noPerm = 77; | 55 const noPerm = 77; |
56 | 56 |
57 /// Something was unconfigured or mis-configured. | 57 /// Something was unconfigured or mis-configured. |
58 const config = 78; | 58 const config = 78; |
OLD | NEW |