mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-11-05 12:27:47 +00:00
14 lines
277 B
Python
14 lines
277 B
Python
# coding: utf-8
|
|
|
|
class TopologyError(Exception):
|
|
""" Exception raise for topology error
|
|
Attributes:
|
|
message -- explanation of the error
|
|
"""
|
|
|
|
def __init__(self, message):
|
|
self.message = message
|
|
|
|
def __str__(self):
|
|
return self.message
|