amqtt/amqtt/errors.py

36 wiersze
534 B
Python

# Copyright (c) 2015 Nicolas JOUANIN
#
# See the file license.txt for copying permission.
class AMQTTException(Exception):
"""
aMQTT base exception
"""
pass
class MQTTException(Exception):
"""
Base class for all errors referring to MQTT specifications
"""
pass
class CodecException(Exception):
"""
Exceptions thrown by packet encode/decode functions
"""
pass
class NoDataException(Exception):
"""
Exceptions thrown by packet encode/decode functions
"""
pass