Source code for moffragmentor.utils.errors

# -*- coding: utf-8 -*-
"""Errors reused across the moffragmentor package"""
__all__ = ["JavaNotFoundError", "NoMetalError"]


[docs]class JavaNotFoundError(ValueError): """Raised if Java executable could not be found"""
[docs]class NoMetalError(ValueError): """Raised if structure contains no metal"""