Module pytgcalls.exceptions

Expand source code
#  tgcalls - a Python binding for C++ library by Telegram
#  pytgcalls - a library connecting the Python binding with MTProto
#  Copyright (C) 2020-2021 Il`ya (Marshal) <https://github.com/MarshalX>
#
#  This file is part of tgcalls and pytgcalls.
#
#  tgcalls and pytgcalls is free software: you can redistribute it and/or modify
#  it under the terms of the GNU Lesser General Public License as published
#  by the Free Software Foundation, either version 3 of the License, or
#  (at your option) any later version.
#
#  tgcalls and pytgcalls is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU Lesser General Public License for more details.
#
#  You should have received a copy of the GNU Lesser General Public License v3
#  along with tgcalls. If not, see <http://www.gnu.org/licenses/>.


class PytgcallsBaseException(Exception):
    ...


class PytgcallsError(PytgcallsBaseException):
    ...


class CallBeforeStartError(PytgcallsBaseException):
    ...


class NotConnectedError(PytgcallsBaseException):
    ...


class GroupCallNotFoundError(PytgcallsBaseException):
    ...

Classes

class CallBeforeStartError (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class CallBeforeStartError(PytgcallsBaseException):
    ...

Ancestors

class GroupCallNotFoundError (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class GroupCallNotFoundError(PytgcallsBaseException):
    ...

Ancestors

class NotConnectedError (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class NotConnectedError(PytgcallsBaseException):
    ...

Ancestors

class PytgcallsBaseException (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class PytgcallsBaseException(Exception):
    ...

Ancestors

  • builtins.Exception
  • builtins.BaseException

Subclasses

class PytgcallsError (*args, **kwargs)

Common base class for all non-exit exceptions.

Expand source code
class PytgcallsError(PytgcallsBaseException):
    ...

Ancestors