6. 异常

exception snnusdk.exceptions.SnnuException(*args, **kwargs)[源代码]

基类:Exception

Base class for exceptions in this module.

exception snnusdk.exceptions.AuthenticationError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

An Authentication Exception occurred.

exception snnusdk.exceptions.UnauthorizedError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

Not authorized Error

exception snnusdk.exceptions.TemporaryBannedError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

Temporary Banned by Server

exception snnusdk.exceptions.BuildingNotFoundError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

Building Not Found Error

exception snnusdk.exceptions.RoomNotFoundError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

Room Not Found Error

exception snnusdk.exceptions.YearNotExistError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

Year Not Exist Error

exception snnusdk.exceptions.DepartmentNotSupportedError(*args, **kwargs)[源代码]

基类:snnusdk.exceptions.SnnuException

Deparment Not Supported Error