Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Side by Side Diff: utils/pub/exit_codes.dart

Issue 14297021: Move pub into sdk/lib/_internal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Disallow package: imports of pub. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/pub/error_group.dart ('k') | utils/pub/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
(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;
OLDNEW
« no previous file with comments | « utils/pub/error_group.dart ('k') | utils/pub/git.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698