Chromium Code Reviews| 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 pub.exit_codes; | 10 library pub.exit_codes; |
| 11 | 11 |
| 12 import 'dart:io'; | |
| 13 import 'dart:async'; | |
|
Søren Gjesse
2013/09/24 11:24:22
Accidental edit?
Anders Johnsen
2013/09/24 11:41:56
Done.
| |
| 14 | |
| 12 /// The command was used incorrectly. | 15 /// The command was used incorrectly. |
| 13 final USAGE = 64; | 16 final USAGE = 64; |
| 14 | 17 |
| 15 /// The input data was incorrect. | 18 /// The input data was incorrect. |
| 16 final DATA = 65; | 19 final DATA = 65; |
| 17 | 20 |
| 18 /// An input file did not exist or was unreadable. | 21 /// An input file did not exist or was unreadable. |
| 19 final NO_INPUT = 66; | 22 final NO_INPUT = 66; |
| 20 | 23 |
| 21 /// The user specified did not exist. | 24 /// The user specified did not exist. |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 46 final TEMP_FAIL = 75; | 49 final TEMP_FAIL = 75; |
| 47 | 50 |
| 48 /// The remote system returned something invalid during a protocol exchange. | 51 /// The remote system returned something invalid during a protocol exchange. |
| 49 final PROTOCOL = 76; | 52 final PROTOCOL = 76; |
| 50 | 53 |
| 51 /// The user did not have sufficient permissions. | 54 /// The user did not have sufficient permissions. |
| 52 final NO_PERM = 77; | 55 final NO_PERM = 77; |
| 53 | 56 |
| 54 /// Something was unconfigured or mis-configured. | 57 /// Something was unconfigured or mis-configured. |
| 55 final CONFIG = 78; | 58 final CONFIG = 78; |
| OLD | NEW |