Exception: OpenTopo::Errors::ResponseError
- Defined in:
- lib/open_topo/errors/response_error.rb
Instance Method Summary collapse
-
#initialize(message = "") ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(message = "") ⇒ ResponseError
Returns a new instance of ResponseError.
6 7 8 |
# File 'lib/open_topo/errors/response_error.rb', line 6 def initialize( = "") super(.is_a?(Hash) ? ["error"] || : ) end |