Exception: Slacks::Response::UnspecifiedError

Inherits:
Error
  • Object
show all
Defined in:
lib/slacks/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#command, #params, #response

Instance Method Summary collapse

Constructor Details

#initialize(command, params, response) ⇒ UnspecifiedError

Returns a new instance of UnspecifiedError.



20
21
22
# File 'lib/slacks/errors.rb', line 20

def initialize(command, params, response)
  super command, params, response, "Request failed with #{response["error"].inspect}"
end