Add a ServiceError(Exception) for malformed user requests

For example requested bandwidth should be >0

Signed-off-by: EstherLerouzic <esther.lerouzic@orange.com>
This commit is contained in:
EstherLerouzic
2019-09-13 17:30:46 +01:00
parent 57f264bedb
commit bdfc55e801
3 changed files with 13 additions and 2 deletions

View File

@@ -17,3 +17,7 @@ class EquipmentConfigError(ConfigurationError):
class NetworkTopologyError(ConfigurationError):
'''Topology of user-provided network is wrong'''
class ServiceError(Exception):
'''Service of user-provided request is wrong'''