Browse Source

Export common exceptions

pull/14/head
Richard Neumann 3 years ago
parent
commit
5dd93d2e89
  1. 10
      rcon/__init__.py

10
rcon/__init__.py

@ -3,10 +3,20 @@
from typing import Any, Coroutine
from warnings import warn
from rcon.exceptions import EmptyResponse, SessionTimeout, WrongPassword
from rcon.source import rcon as _rcon
from rcon.source import Client as _Client
__all__ = [
'EmptyResponse',
'SessionTimeout',
'WrongPassword',
'Client',
'rcon'
]
class Client(_Client):
"""Wrapper for the rcon.source.Client for backwards compatibility."""

Loading…
Cancel
Save