Exceptions#
This section documents all exceptions that pronotepy intentionally
raises. All of them extend the PronoteAPIError
exception.
- exception pronotepy.PronoteAPIError(*args: object, pronote_error_code: Optional[int] = None, pronote_error_msg: Optional[str] = None)#
Base exception for any pronote api errors
- exception pronotepy.CryptoError(*args: object, pronote_error_code: Optional[int] = None, pronote_error_msg: Optional[str] = None)#
Exception for known errors in the cryptography.
- exception pronotepy.ExpiredObject(*args: object, pronote_error_code: Optional[int] = None, pronote_error_msg: Optional[str] = None)#
Raised when pronote returns error 22. (unknown object reference)
- exception pronotepy.ChildNotFound(*args: object, pronote_error_code: Optional[int] = None, pronote_error_msg: Optional[str] = None)#
Child with this name was not found.
- exception pronotepy.DataError#
Base exception for any errors made by creating or manipulating data classes.
- exception pronotepy.ICalExportError(*args: object, pronote_error_code: Optional[int] = None, pronote_error_msg: Optional[str] = None)#
Error while exporting ICal. Pronote did not return token
- exception pronotepy.ENTLoginError(*args: object, pronote_error_code: Optional[int] = None, pronote_error_msg: Optional[str] = None)#
Error while logging in with an ENT