Dart Documentationexit_codes

exit_codes library

Exit code constants. From the BSD sysexits manpage. Not every constant here is used, even though some of the unused ones may be appropriate for errors encountered by pub.

Properties

final CANT_CREATE #

A user-specified output file cannot be created.

final CANT_CREATE = 73

final CONFIG #

Something was unconfigured or mis-configured.

final CONFIG = 78

final DATA #

The input data was incorrect.

final DATA = 65

final IO #

An error occurred while doing I/O on some file.

final IO = 74

final NO_HOST #

The host specified did not exist.

final NO_HOST = 68

final NO_INPUT #

An input file did not exist or was unreadable.

final NO_INPUT = 66

final NO_PERM #

The user did not have sufficient permissions.

final NO_PERM = 77

final NO_USER #

The user specified did not exist.

final NO_USER = 67

final OS #

An operating system error has been detected.

final OS = 71

final OS_FILE #

Some system file did not exist or was unreadable.

final OS_FILE = 72

final PROTOCOL #

The remote system returned something invalid during a protocol exchange.

final PROTOCOL = 76

final SOFTWARE #

An internal software error has been detected.

final SOFTWARE = 70

final TEMP_FAIL #

Temporary failure, indicating something that is not really an error.

final TEMP_FAIL = 75

final UNAVAILABLE #

A service is unavailable.

final UNAVAILABLE = 69

final USAGE #

The command was used incorrectly.

final USAGE = 64