Chromium Code Reviews

Side by Side Diff: lib/src/exit_codes.dart

Issue 1585513002: Get rid of all the library tags. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « lib/src/executable.dart ('k') | lib/src/git.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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. 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 /// even though some of the unused ones may be appropriate for errors 8 /// even though some of the unused ones may be appropriate for errors
9 /// encountered by pub. 9 /// encountered by pub.
10 /// 10 ///
11 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits 11 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits
12 library pub.exit_codes;
13
14 /// The command completely successfully. 12 /// The command completely successfully.
15 const SUCCESS = 0; 13 const SUCCESS = 0;
16 14
17 /// The command was used incorrectly. 15 /// The command was used incorrectly.
18 const USAGE = 64; 16 const USAGE = 64;
19 17
20 /// The input data was incorrect. 18 /// The input data was incorrect.
21 const DATA = 65; 19 const DATA = 65;
22 20
23 /// An input file did not exist or was unreadable. 21 /// An input file did not exist or was unreadable.
(...skipping 27 matching lines...)
51 const TEMP_FAIL = 75; 49 const TEMP_FAIL = 75;
52 50
53 /// The remote system returned something invalid during a protocol exchange. 51 /// The remote system returned something invalid during a protocol exchange.
54 const PROTOCOL = 76; 52 const PROTOCOL = 76;
55 53
56 /// The user did not have sufficient permissions. 54 /// The user did not have sufficient permissions.
57 const NO_PERM = 77; 55 const NO_PERM = 77;
58 56
59 /// Something was unconfigured or mis-configured. 57 /// Something was unconfigured or mis-configured.
60 const CONFIG = 78; 58 const CONFIG = 78;
OLDNEW
« no previous file with comments | « lib/src/executable.dart ('k') | lib/src/git.dart » ('j') | no next file with comments »

Powered by Google App Engine