Exception: Mirror::Api::NotFoundError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(error, details) ⇒ NotFoundError

Returns a new instance of NotFoundError.



7
8
9
10
# File 'lib/mirror-api/not_found_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/not_found_error.rb', line 5

def details
  @details
end