Source code for flory.common.exceptions
"""Exceptions that package :mod:`flory` might raise.
.. codeauthor:: Yicheng Qiang <yicheng.qiang@ds.mpg.de>
"""
[docs]
class VolumeFractionError(ValueError):
"""Error indicating that the volume fraction is smaller than 0."""
[docs]
class ComponentNumberError(ValueError):
"""Error indicating mismatch of number of components."""