Exception: Shark::UnexpectedStatus

Inherits:
ServerError show all
Defined in:
lib/shark/error.rb

Instance Attribute Summary

Attributes inherited from ApiError

#code, #env

Instance Method Summary collapse

Methods inherited from ApiError

#body, #initialize, #url

Constructor Details

This class inherits a constructor from Shark::ApiError

Instance Method Details

#messageObject



56
57
58
# File 'lib/shark/error.rb', line 56

def message
  "Unexpected response status: #{code} from: #{url}"
end