replot/replot/exceptions.py

25 lines
415 B
Python
Raw Permalink Normal View History

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
class InvalidFigure(BaseException):
"""
Exception raised when a figure is invalid and cannot be shown.
"""
pass