Source code for pylav.exceptions.client
from __future__ import annotations
from pylav.exceptions.base import PyLavException
[docs]
class PyLavInvalidArgumentsException(PyLavException):
"""Base Exception for when invalid arguments are passed to a method"""
[docs]
class PyLavNotInitializedException(PyLavException):
"""Raised when the library is not initialized"""
[docs]
class AnotherClientAlreadyRegisteredException(PyLavException):
"""Another client has already been registered"""
[docs]
class CogAlreadyRegisteredException(PyLavException):
"""Raised when a cog is already registered"""