Sha256: 8002d6d7d26f11d1a7ccb25e59ff2df46aa7628688e0659566f189d260f4b4d0

Contents?: true

Size: 417 Bytes

Versions: 14

Compression:

Stored size: 417 Bytes

Contents

module Hem
  module ErrorHandlers
    module ExitCodeMap
      DEFAULT_EXIT_CODE = 128
      EXIT_CODES = {
        'Interrupt' => 1,
        'Hem::ExternalCommandError' => 3,
        'Hem::InvalidCommandOrOpt' => 4,
        'Hem::MissingArgumentsError' => 5,
        'Hem::UserError' => 6,
        'Hem::ProjectOnlyError' => 7,
        'Hem::HostCheckError' => 8,
        'Hem::Error' => 9
      }
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
hem-1.2.4 lib/hem/error_handlers/exit_code_map.rb
hem-1.2.3 lib/hem/error_handlers/exit_code_map.rb
hem-1.2.2 lib/hem/error_handlers/exit_code_map.rb
hem-1.2.1 lib/hem/error_handlers/exit_code_map.rb
hem-1.2.0 lib/hem/error_handlers/exit_code_map.rb
hem-1.1.2 lib/hem/error_handlers/exit_code_map.rb
hem-1.1.1 lib/hem/error_handlers/exit_code_map.rb
hem-1.1.0 lib/hem/error_handlers/exit_code_map.rb
hem-1.0.1.beta6 lib/hem/error_handlers/exit_code_map.rb
hem-1.0.1.beta5 lib/hem/error_handlers/exit_code_map.rb
hem-1.0.1.beta4 lib/hem/error_handlers/exit_code_map.rb
hem-1.0.1.beta3 lib/hem/error_handlers/exit_code_map.rb
hem-1.0.1.beta2 lib/hem/error_handlers/exit_code_map.rb
hem-1.0.1.beta1 lib/hem/error_handlers/exit_code_map.rb