OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 /// Exit code constants. | |
6 /// | |
7 /// From [the BSD sysexits manpage][manpage]. Not every constant here is used. | |
8 /// | |
9 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits | |
10 library unittest.exit_codes; | |
11 | |
12 /// The command completely successfully. | |
13 const success = 0; | |
14 | |
15 /// The command was used incorrectly. | |
16 const usage = 64; | |
17 | |
18 /// The input data was incorrect. | |
19 const data = 65; | |
20 | |
21 /// An input file did not exist or was unreadable. | |
22 const noInput = 66; | |
23 | |
24 /// The user specified did not exist. | |
25 const noUser = 67; | |
26 | |
27 /// The host specified did not exist. | |
28 const noHost = 68; | |
29 | |
30 /// A service is unavailable. | |
31 const unavailable = 69; | |
32 | |
33 /// An internal software error has been detected. | |
34 const software = 70; | |
35 | |
36 /// An operating system error has been detected. | |
37 const os = 71; | |
38 | |
39 /// Some system file did not exist or was unreadable. | |
40 const osFile = 72; | |
41 | |
42 /// A user-specified output file cannot be created. | |
43 const cantCreate = 73; | |
44 | |
45 /// An error occurred while doing I/O on some file. | |
46 const io = 74; | |
47 | |
48 /// Temporary failure, indicating something that is not really an error. | |
49 const tempFail = 75; | |
50 | |
51 /// The remote system returned something invalid during a protocol exchange. | |
52 const protocol = 76; | |
53 | |
54 /// The user did not have sufficient permissions. | |
55 const noPerm = 77; | |
56 | |
57 /// Something was unconfigured or mis-configured. | |
58 const config = 78; | |
OLD | NEW |