Exception: Slacks::ConnectionError

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

Instance Method Summary collapse

Constructor Details

#initialize(event) ⇒ ConnectionError

Returns a new instance of ConnectionError.



81
82
83
84
# File 'lib/slacks/errors.rb', line 81

def initialize(event)
  super "There was a connection error in the WebSocket"
  additional_information[:event] = event
end