BadCredentialsError Exception

class rosteron.exceptions.BadCredentialsError(username: str)

BadCredentialsError exceptions are raised when RosterOn rejects the supplied username & password during a login operation.

The exception message includes the supplied username.

>>> from rosteron import exceptions
>>> raise exceptions.BadCredentialsError('joe.bloggs')
Traceback (most recent call last):
  File "<input>", line 1, in <module>
rosteron.exceptions.BadCredentialsError: RosterOn rejected the login credentials for username 'joe.bloggs'