Sha256: 04a3a621010ee96335f7d5806bb3b57bdbb8e9a1481d2d7c29f00f0887e0fd7d

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

module Transifex
  class Error < StandardError
    attr_accessor :response
    def initialize(response = nil)
      @response = response
      super
    end
  end

  class Unauthorized < Error; end
  class Forbidden < Error; end
  class NotFound < Error; end
  class NotAcceptable < Error; end
  class Conflict < Error; end
  class UnsupportedMediaType < Error; end
  class UnprocessableEntity < Error; end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
transifex-ruby-0.1.0 lib/transifex/error.rb
transifex-ruby-0.0.6 lib/transifex/error.rb
transifex-ruby-0.0.5 lib/transifex/error.rb
transifex-ruby-0.0.4 lib/transifex/error.rb
transifex-ruby-fork-jg-0.1.0 lib/transifex/error.rb