Exception: Mirror::Api::BadRequestError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/mirror-api/bad_request_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error, details) ⇒ BadRequestError

Returns a new instance of BadRequestError.



7
8
9
10
# File 'lib/mirror-api/bad_request_error.rb', line 7

def initialize(error, details)
  @error = error
  @details = details
end

Instance Attribute Details

#detailsObject (readonly)

Returns the value of attribute details.



5
6
7
# File 'lib/mirror-api/bad_request_error.rb', line 5

def details
  @details
end