2024-06-05 09:11:37 +01:00
|
|
|
# © Crown-owned copyright 2024, Defence Science and Technology Laboratory UK
|
2023-07-20 19:58:48 +01:00
|
|
|
class PrimaiteError(Exception):
|
2023-11-24 15:17:08 +00:00
|
|
|
"""The root PrimAITE Error."""
|
2023-07-20 19:58:48 +01:00
|
|
|
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
2023-07-31 16:55:45 +01:00
|
|
|
class NetworkError(PrimaiteError):
|
|
|
|
|
"""Raised when an error occurs at the network level."""
|
|
|
|
|
|
|
|
|
|
pass
|