Skip to content

Commit 7d34423

Browse files
committed
enapter: mqtt: export Error
1 parent 1c2366c commit 7d34423

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

enapter/mqtt/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
from . import api
22
from .client import Client
33
from .config import Config, TLSConfig
4+
from .errors import Error
45

56
__all__ = [
67
"Client",
78
"Config",
9+
"Error",
810
"TLSConfig",
911
"api",
1012
]

enapter/mqtt/errors.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import aiomqtt
2+
3+
Error = aiomqtt.MqttError

0 commit comments

Comments
 (0)