mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-10-30 17:47:50 +00:00
14 lines
298 B
Python
14 lines
298 B
Python
# 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 |