Method: Mapbox.api_error
- Defined in:
- lib/mapbox.rb
.api_error(error, rcode, rbody, error_obj) ⇒ Object
134 135 136 |
# File 'lib/mapbox.rb', line 134 def self.api_error(error, rcode, rbody, error_obj) StandardError.new(error[:message], rcode, rbody, error_obj) end |