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 test.util.exit_codes; | |
11 | |
12 /// The command completely successfully. | 10 /// The command completely successfully. |
13 const success = 0; | 11 const success = 0; |
14 | 12 |
15 /// The command was used incorrectly. | 13 /// The command was used incorrectly. |
16 const usage = 64; | 14 const usage = 64; |
17 | 15 |
18 /// The input data was incorrect. | 16 /// The input data was incorrect. |
19 const data = 65; | 17 const data = 65; |
20 | 18 |
21 /// An input file did not exist or was unreadable. | 19 /// An input file did not exist or was unreadable. |
(...skipping 27 matching lines...) Expand all Loading... |
49 const tempFail = 75; | 47 const tempFail = 75; |
50 | 48 |
51 /// The remote system returned something invalid during a protocol exchange. | 49 /// The remote system returned something invalid during a protocol exchange. |
52 const protocol = 76; | 50 const protocol = 76; |
53 | 51 |
54 /// The user did not have sufficient permissions. | 52 /// The user did not have sufficient permissions. |
55 const noPerm = 77; | 53 const noPerm = 77; |
56 | 54 |
57 /// Something was unconfigured or mis-configured. | 55 /// Something was unconfigured or mis-configured. |
58 const config = 78; | 56 const config = 78; |
OLD | NEW |