Sha256: 17c080be8d25d907539486b7c4d70e7e76e51ddbb0fbab32b246ce97d4dd019f

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

module Oxidized
  class PromptUndetect < OxidizedError; end

  class Input
    include Oxidized::Config::Vars

    RESCUE_FAIL = {
      debug: [
        Errno::ECONNREFUSED
      ],
      warn:  [
        IOError,
        PromptUndetect,
        Timeout::Error,
        Errno::ECONNRESET,
        Errno::EHOSTUNREACH,
        Errno::ENETUNREACH,
        Errno::EPIPE,
        Errno::ETIMEDOUT
      ]
    }.freeze
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
oxidized-0.31.0 lib/oxidized/input/input.rb
oxidized-0.30.1 lib/oxidized/input/input.rb
oxidized-0.30.0 lib/oxidized/input/input.rb