Files
oopt-gnpy-api/gnpyapi/core/exception/topology_error.py
Renato Ambrosone e48f524d1a refactor: API now rely on gnpy function without re-implementation
Change-Id: Ib71f62f74eaa9fd87606a977f1f2c830b71668d9
2025-03-25 16:04:49 +01:00

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