Sha256: 7cf337f2660f532b1bfe8a1488247ca4eed51466ed8dc1c495dfb0f2ecd7810a

Contents?: true

Size: 183 Bytes

Versions: 7

Compression:

Stored size: 183 Bytes

Contents

class WargamingApi::Error::ResponseError < StandardError
  attr_reader :response

  def initialize(response)
    @response = response
    super(response['error']['message'])
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wargaming_api_ruby-0.1.7 lib/wargaming_api/error/response_error.rb
wargaming_api_ruby-0.1.5 lib/wargaming_api/error/response_error.rb
wargaming_api_ruby-0.1.4 lib/wargaming_api/error/response_error.rb
wargaming_api_ruby-0.1.3 lib/wargaming_api/error/response_error.rb
wargaming_api_ruby-0.1.2 lib/wargaming_api/error/response_error.rb
wargaming_api_ruby-0.1.1 lib/wargaming_api/error/response_error.rb
wargaming_api_ruby-0.1.0 lib/wargaming_api/error/response_error.rb