mirror of
https://github.com/Telecominfraproject/oopt-gnpy.git
synced 2025-11-02 19:18:02 +00:00
20 lines
458 B
Python
20 lines
458 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
'''
|
|
gnpy.core.exceptions
|
|
====================
|
|
|
|
Exceptions thrown by other gnpy modules
|
|
'''
|
|
|
|
|
|
class ConfigurationError(Exception):
|
|
'''User-provided configuration contains an error'''
|
|
|
|
class EquipmentConfigError(ConfigurationError):
|
|
'''Incomplete or wrong configuration within the equipment library'''
|
|
|
|
class NetworkTopologyError(ConfigurationError):
|
|
'''Topology of user-provided network is wrong'''
|