From 74788f934f36b59e47d9dcef5f25f58c3d97526a Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 30 Dec 2017 19:31:22 +0100 Subject: [PATCH] Expose the Error class from the main package --- pyrogram/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyrogram/__init__.py b/pyrogram/__init__.py index 723c5859..7248b8b7 100644 --- a/pyrogram/__init__.py +++ b/pyrogram/__init__.py @@ -20,5 +20,6 @@ __copyright__ = "Copyright (C) 2017 Dan Tès " __license__ = "GNU Lesser General Public License v3 or later (LGPLv3+)" __version__ = "0.2.2" +from .api.errors import Error from .client import ChatAction from .client import Client