Sha256: a00bdd9077c4a7aedc305d262efccc02380d901c44e03f69e4a792c2a862b285

Contents?: true

Size: 390 Bytes

Versions: 1

Compression:

Stored size: 390 Bytes

Contents

require 'waeasyapi/errors/waeasyapi_error'

module WAEasyAPI
  # Bad request to API. Missing a field or an invalid field.
  # Error in merchant request. Check the description and correct the request accordingly.
  class BadRequestError < WAEasyAPI::Error
    attr_reader :field

    def initialize(code, status, field = nil)
      super(code, status)
      @field = field
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
waeasyapi-1.0.0 lib/waeasyapi/errors/bad_request_error.rb