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

Side by Side Diff: sdk/lib/_internal/pub/lib/src/exit_codes.dart

Issue 1165473002: Start pulling pub from its own repo. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Code review changes Created 5 years, 6 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
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/executable.dart ('k') | sdk/lib/_internal/pub/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
(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.
6 ///
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
9 /// encountered by pub.
10 ///
11 /// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits
12 library pub.exit_codes;
13
14 /// The command completely successfully.
15 const SUCCESS = 0;
16
17 /// The command was used incorrectly.
18 const USAGE = 64;
19
20 /// The input data was incorrect.
21 const DATA = 65;
22
23 /// An input file did not exist or was unreadable.
24 const NO_INPUT = 66;
25
26 /// The user specified did not exist.
27 const NO_USER = 67;
28
29 /// The host specified did not exist.
30 const NO_HOST = 68;
31
32 /// A service is unavailable.
33 const UNAVAILABLE = 69;
34
35 /// An internal software error has been detected.
36 const SOFTWARE = 70;
37
38 /// An operating system error has been detected.
39 const OS = 71;
40
41 /// Some system file did not exist or was unreadable.
42 const OS_FILE = 72;
43
44 /// A user-specified output file cannot be created.
45 const CANT_CREATE = 73;
46
47 /// An error occurred while doing I/O on some file.
48 const IO = 74;
49
50 /// Temporary failure, indicating something that is not really an error.
51 const TEMP_FAIL = 75;
52
53 /// The remote system returned something invalid during a protocol exchange.
54 const PROTOCOL = 76;
55
56 /// The user did not have sufficient permissions.
57 const NO_PERM = 77;
58
59 /// Something was unconfigured or mis-configured.
60 const CONFIG = 78;
OLDNEW
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/executable.dart ('k') | sdk/lib/_internal/pub/lib/src/git.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698