Sha256: b2ef7d4937582f62b4a3e5ed9573e28ac5be8c5662c31126e4e3a677b21d0262

Contents?: true

Size: 250 Bytes

Versions: 5

Compression:

Stored size: 250 Bytes

Contents

require 'English'

module Gull
  class HttpError < StandardError
    attr_reader :original

    def initialize(message, original = $ERROR_INFO)
      super(message)
      @original = original
    end
  end

  class TimeoutError < HttpError
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gull-0.4.0 lib/gull/error.rb
gull-0.3.4 lib/gull/error.rb
gull-0.3.3 lib/gull/error.rb
gull-0.3.2 lib/gull/error.rb
gull-0.3.1 lib/gull/error.rb