Exceptions reference#
Here are all all Lanis- and lib-related Exceptions.
- exception AppNotAvailableError#
Returned if you tried to access a not supported applet by your school.
- exception CriticalElementWasNotFoundError#
Returned if a critical html element was not found.
- exception ForceNewAuthenticationError#
Thrown if we need to make a completely new session. Usually it is not thrown outside of the lib.
- exception LoginPageRedirectError#
Returned if Lanis returned the login page.
- exception NoSchoolFoundError#
Returned if no school was found using the
School
params.
- exception NotAuthenticatedError#
Returned if
LanisClient
orCryptor
wasn’t authenticated yet.
- exception PageNotFoundError#
Returned if Lanis couldn’t find the page (404).
- exception WrongCredentialsError#
Returned if you passed a wrong password or username.