fix: improve error management when decoding uplink messages
This commit is contained in:
parent
f77cf3dd75
commit
5c480db410
3 changed files with 50 additions and 26 deletions
|
|
@ -6,5 +6,8 @@ class InfrastructureError(Exception):
|
|||
class DatabaseConnectionError(InfrastructureError):
|
||||
"""Impossible de se connecter à la db"""
|
||||
|
||||
class DatabaseError(InfrastructureError):
|
||||
"""Erreur lors d'une opération en base de données."""
|
||||
|
||||
class MessageBrokerError(InfrastructureError):
|
||||
"""Impossible de se connecter au broker MQTT"""
|
||||
Loading…
Add table
Add a link
Reference in a new issue