blob: 8987c5563ff629128ab43f11ccc1b0102b978702 [file] [log] [blame]
Wei-Yu Chenad55cb82022-02-15 20:07:01 +08001# SPDX-FileCopyrightText: 2020 The Magma Authors.
2# SPDX-FileCopyrightText: 2022 Open Networking Foundation <support@opennetworking.org>
3#
4# SPDX-License-Identifier: BSD-3-Clause
Wei-Yu Chen49950b92021-11-08 19:19:18 +08005
6
7class ConfigurationError(Exception):
8 """ Indicates that the eNodeB could not be configured correctly. """
9 pass
10
11
12class Tr069Error(Exception):
13 pass
14
15
16class IncorrectDeviceHandlerError(Exception):
17 """ Indicates that we're using the wrong data model for configuration. """
18
19 def __init__(self, device_name: str):
20 """
21 device_name: What device we actually are dealing with
22 """
23 super().__init__()
24 self.device_name = device_name
25
26
27class UnrecognizedEnodebError(Exception):
28 """
29 Indicates that the Access Gateway does not recognize the eNodeB.
30 The Access Gateway will not interact with the eNodeB in question.
31 """
32 pass