Exception: XBMC::UnauthenticatedError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/ruby-xbmc.rb

Overview

Error class when not authenticated

Direct Known Subclasses

WrongCredentialsError

Instance Method Summary collapse

Constructor Details

#initialize(m = nil) ⇒ UnauthenticatedError

Returns a new instance of UnauthenticatedError.



114
115
116
# File 'lib/ruby-xbmc.rb', line 114

def initialize(m=nil)
    super(m.nil? ? "You are not connected (no user/password)": m)
end