OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012, 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. From [the BSD sysexits manpage][manpage]. Not every | |
6 /// constant here is used, even though some of the unused ones may be | |
7 /// appropriate for errors encountered by pub. | |
8 /// | |
9 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits | |
10 library exit_codes; | |
11 | |
12 /// The command was used incorrectly. | |
13 final USAGE = 64; | |
14 | |
15 /// The input data was incorrect. | |
16 final DATA = 65; | |
17 | |
18 /// An input file did not exist or was unreadable. | |
19 final NO_INPUT = 66; | |
20 | |
21 /// The user specified did not exist. | |
22 final NO_USER = 67; | |
23 | |
24 /// The host specified did not exist. | |
25 final NO_HOST = 68; | |
26 | |
27 /// A service is unavailable. | |
28 final UNAVAILABLE = 69; | |
29 | |
30 /// An internal software error has been detected. | |
31 final SOFTWARE = 70; | |
32 | |
33 /// An operating system error has been detected. | |
34 final OS = 71; | |
35 | |
36 /// Some system file did not exist or was unreadable. | |
37 final OS_FILE = 72; | |
38 | |
39 /// A user-specified output file cannot be created. | |
40 final CANT_CREATE = 73; | |
41 | |
42 /// An error occurred while doing I/O on some file. | |
43 final IO = 74; | |
44 | |
45 /// Temporary failure, indicating something that is not really an error. | |
46 final TEMP_FAIL = 75; | |
47 | |
48 /// The remote system returned something invalid during a protocol exchange. | |
49 final PROTOCOL = 76; | |
50 | |
51 /// The user did not have sufficient permissions. | |
52 final NO_PERM = 77; | |
53 | |
54 /// Something was unconfigured or mis-configured. | |
55 final CONFIG = 78; | |
OLD | NEW |