2016-03-02 14:04:28 +01:00
|
|
|
"""
|
2016-03-18 20:45:40 +01:00
|
|
|
Exception classes used in :mod:`replot`.
|
2016-03-02 14:04:28 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
class BaseException(Exception):
|
|
|
|
"""
|
|
|
|
Base exception for all replot exceptions.
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class InvalidParameterError(BaseException):
|
|
|
|
"""
|
|
|
|
Exception raised when an invalid parameter is provided.
|
|
|
|
"""
|
|
|
|
pass
|
2016-03-18 15:15:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
class InvalidFigure(BaseException):
|
|
|
|
"""
|
|
|
|
Exception raised when a figure is invalid and cannot be shown.
|
|
|
|
"""
|
|
|
|
pass
|