Exceptions Reference

All the exceptions of Pykemo.

General

exception pykemo.exceptions.general.PyKemoException

General exception for PyKemo.

Roles

exception pykemo.exceptions.roles.InvalidRole

A different account role was expected.

exception pykemo.exceptions.roles.InsufficientPrivileges

One does not have the required clearance for an operation.

Services

exception pykemo.exceptions.services.IncorrectService(service_type)

An incorrect service was selected for something.

Parameters:

service_type (ServiceType)

Return type:

None

exception pykemo.exceptions.services.NotFanbox(service_type)

The service used is not Fanbox.

Parameters:

service_type (ServiceType)

Return type:

None

exception pykemo.exceptions.services.NotDiscord(service_type)

The service used is not Discord.

Parameters:

service_type (ServiceType)

Return type:

None

Sessions

exception pykemo.exceptions.sessions.LoginError

Generic login error in connection.

exception pykemo.exceptions.sessions.InvalidLogin

The login was unsuccessful.

exception pykemo.exceptions.sessions.AlreadyLoggedIn

The user is already logged in.

exception pykemo.exceptions.sessions.RegisterError

Generic register error in connection.

exception pykemo.exceptions.sessions.InvalidRegister

Register failed due to user errors.