Documentation
¶
Overview ¶
Package sysexit lists standard return codes that are often used by applications in Unix like environments.
For more info on these errors see the man page for SYSEXITS(3) on a BSD.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
type Code int
Code is an error that corresponds to an exit code.
const ( Ok Code = 0 // successful termination ErrBase Code = 64 // base value for error messages ErrUsage Code = 64 // command line usage error ErrData Code = 65 // data format error ErrNoInput Code = 66 // cannot open input ErrNoUser Code = 67 // addressee unknown ErrNoHost Code = 68 // host name unknown ErrSoftware Code = 70 // internal software error ErrOS Code = 71 // system error (e.g., can't fork) ErrOSFile Code = 72 // critical OS file missing ErrCantCreat Code = 73 // can't create (user) output file ErrIO Code = 74 // input/output error ErrTempFail Code = 75 // temp failure; user is invited to retry ErrProtocol Code = 76 // remote error in protocol ErrNoPerm Code = 77 // permission denied ErrConfig Code = 78 // configuration error )
Exit codes defined by SYSEXITS(3).