Exception: Spacebunny::ClientRequired

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/spacebunny/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initialize(message = nil) ⇒ ClientRequired

Returns a new instance of ClientRequired.



31
32
33
34
# File 'lib/spacebunny/exceptions.rb', line 31

def initialize(message = nil)
  message = message || "Missing mandatory 'client'. Spacebunny::LiveStream.new(:client => 'a_valid_client', :secret: 'a_valid_secret')"
  super(message)
end