Newer
Older
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// Exit code constants.
///
/// From [the BSD sysexits manpage][manpage]. Not every constant here is used,
/// even though some of the unused ones may be appropriate for errors
/// encountered by pub.
///
/// [manpage]: http://www.freebsd.org/cgi/man.cgi?query=sysexits
/// The command completely successfully.
const SUCCESS = 0;
/// The command was used incorrectly.
/// The input data was incorrect.
/// An input file did not exist or was unreadable.
/// The user specified did not exist.
/// The host specified did not exist.
/// A service is unavailable.
/// An internal software error has been detected.
/// An operating system error has been detected.
/// Some system file did not exist or was unreadable.
/// A user-specified output file cannot be created.
/// An error occurred while doing I/O on some file.
/// Temporary failure, indicating something that is not really an error.
/// The remote system returned something invalid during a protocol exchange.
/// The user did not have sufficient permissions.
/// Something was unconfigured or mis-configured.