| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 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 | 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. From [the BSD sysexits manpage][manpage]. Not every | 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 | 6 /// constant here is used, even though some of the unused ones may be |
| 7 /// appropriate for errors encountered by pub. | 7 /// appropriate for errors encountered by pub. |
| 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('exit_codes'); | 10 library exit_codes; |
| 11 | 11 |
| 12 /// The command was used incorrectly. | 12 /// The command was used incorrectly. |
| 13 final USAGE = 64; | 13 final USAGE = 64; |
| 14 | 14 |
| 15 /// The input data was incorrect. | 15 /// The input data was incorrect. |
| 16 final DATA = 65; | 16 final DATA = 65; |
| 17 | 17 |
| 18 /// An input file did not exist or was unreadable. | 18 /// An input file did not exist or was unreadable. |
| 19 final NO_INPUT = 66; | 19 final NO_INPUT = 66; |
| 20 | 20 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 46 final TEMP_FAIL = 75; | 46 final TEMP_FAIL = 75; |
| 47 | 47 |
| 48 /// The remote system returned something invalid during a protocol exchange. | 48 /// The remote system returned something invalid during a protocol exchange. |
| 49 final PROTOCOL = 76; | 49 final PROTOCOL = 76; |
| 50 | 50 |
| 51 /// The user did not have sufficient permissions. | 51 /// The user did not have sufficient permissions. |
| 52 final NO_PERM = 77; | 52 final NO_PERM = 77; |
| 53 | 53 |
| 54 /// Something was unconfigured or mis-configured. | 54 /// Something was unconfigured or mis-configured. |
| 55 final CONFIG = 78; | 55 final CONFIG = 78; |
| OLD | NEW |