Source code for diffpy.srfit.exceptions

#!/usr/bin/env python
##############################################################################
#
# diffpy.srfit      Complex Modeling Initiative
#                   (c) 2016 Brookhaven Science Associates,
#                   Brookhaven National Laboratory.
#                   All rights reserved.
#
# File coded by:    Pavol Juhas
#
# See AUTHORS.txt for a list of people who contributed.
# See LICENSE.txt for license information.
#
##############################################################################
"""Exceptions used for SrFit - specific errors."""

# FIXME: remove this line when black and docformatter agree.


[docs] class SrFitError(Exception): """Generic error in SrFit expressions or recipe.""" pass
[docs] class ParseError(Exception): """Exception used by ProfileParsers.""" pass