mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-01 10:38:10 +00:00
add autodesign routes
Signed-off-by: manuedelf <59697943+edelfour@users.noreply.github.com>
This commit is contained in:
committed by
EstherLerouzic
parent
f67e9c4914
commit
459a82150b
14
gnpy/api/exception/path_computation_error.py
Normal file
14
gnpy/api/exception/path_computation_error.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# coding: utf-8
|
||||
|
||||
|
||||
class PathComputationError(Exception):
|
||||
""" Exception raise for path computation error error
|
||||
Attributes:
|
||||
message -- explanation of the error
|
||||
"""
|
||||
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return self.message
|
||||
Reference in New Issue
Block a user