Exception: VanillaJsConnect::InvalidClient

Inherits:
Error
  • Object
show all
Defined in:
lib/vanilla-jsconnect/error.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #message

Instance Method Summary collapse

Methods inherited from Error

#inspect, #to_json

Constructor Details

#initialize(message) ⇒ InvalidClient

Returns a new instance of InvalidClient.



27
28
29
30
# File 'lib/vanilla-jsconnect/error.rb', line 27

def initialize(message)
  @code = 'invalid_client'
  @message = message
end