mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-11-05 04:17:46 +00:00
15 lines
286 B
Python
15 lines
286 B
Python
# coding: utf-8
|
|
|
|
|
|
class ConfigError(Exception):
|
|
""" Exception raise for configuration file error
|
|
Attributes:
|
|
message -- explanation of the error
|
|
"""
|
|
|
|
def __init__(self, message):
|
|
self.message = message
|
|
|
|
def __str__(self):
|
|
return self.message
|