NotLoggedInError Exception

class rosteron.exceptions.NotLoggedInError

NotLoggedInError exceptions are raised when get_roster() is called on a Session where a user has not yet successfully logged in.

>>> from rosteron import exceptions
>>> raise exceptions.NotLoggedInError
Traceback (most recent call last):
  File "<input>", line 1, in <module>
rosteron.exceptions.NotLoggedInError: a RosterOn user must successfully log in before a roster can be retrieved