Sha256: 21fed7054e1ad7866d7ec5eb9b3a4439d908e34b6216a0ce96f99af40f92f816

Contents?: true

Size: 1 KB

Versions: 30

Compression:

Stored size: 1 KB

Contents

module HammerCLI
  # taken from sysexits.h
  EX_OK           = 0       # successful termination
  EX_USAGE        = 64      # command line usage error
  EX_DATAERR      = 65      # data format error
  EX_NOINPUT      = 66      # cannot open input
  EX_NOUSER       = 67      # addressee unknown 
  EX_NOHOST       = 68      # host name unknown
  EX_UNAVAILABLE  = 69      # service unavailable
  EX_SOFTWARE     = 70      # internal software error
  EX_OSERR        = 71      # system error (e.g., can't fork)
  EX_OSFILE       = 72      # critical OS file missing
  EX_CANTCREAT    = 73      # can't create (user) output file
  EX_IOERR        = 74      # input/output error
  EX_TEMPFAIL     = 75      # temp failure; user is invited to retry
  EX_PROTOCOL     = 76      # remote error in protocol
  EX_NOPERM       = 77      # permission denied
  EX_CONFIG       = 78      # configuration error

  # non POSIX codes
  EX_NOT_FOUND    = 128     # resource was not found
  EX_UNAUTHORIZED = 129     # authorization failed
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
hammer_cli-0.10.1 lib/hammer_cli/exit_codes.rb
hammer_cli-0.10.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.9.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.8.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.7.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.6.1 lib/hammer_cli/exit_codes.rb
hammer_cli-0.6.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.5.1 lib/hammer_cli/exit_codes.rb
hammer_cli-0.4.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.3.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.2.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.1.4 lib/hammer_cli/exit_codes.rb
hammer_cli-0.1.3 lib/hammer_cli/exit_codes.rb
hammer_cli-0.1.2 lib/hammer_cli/exit_codes.rb
hammer_cli-0.1.1 lib/hammer_cli/exit_codes.rb
hammer_cli-0.1.0 lib/hammer_cli/exit_codes.rb
hammer_cli-0.0.18 lib/hammer_cli/exit_codes.rb
hammer_cli-0.0.16 lib/hammer_cli/exit_codes.rb
hammer_cli-0.0.15 lib/hammer_cli/exit_codes.rb
hammer_cli-0.0.14 lib/hammer_cli/exit_codes.rb