Exception: VanillaJsConnect::AccessDenied

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) ⇒ AccessDenied

Returns a new instance of AccessDenied.



34
35
36
37
# File 'lib/vanilla-jsconnect/error.rb', line 34

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