Source code for astropy.vo.validator.exceptions

# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""Exceptions related to Virtual Observatory (VO) validation."""
from __future__ import absolute_import, division, print_function, unicode_literals


__all__ = ['BaseVOValidationError', 'ValidationMultiprocessingError']


# NOTE: All the exceptions here are deprecated as well, along with all other
#       Cone Search related stuff, but it seems weird for exception to issue
#       deprecation warning.

[docs]class BaseVOValidationError(Exception): # pragma: no cover """Base class for VO validation exceptions.""" pass
[docs]class ValidationMultiprocessingError(BaseVOValidationError): # pragma: no cover """Validation using multiprocessing failed.""" pass
class InvalidValidationAttribute(BaseVOValidationError): # pragma: no cover """Invalid validation attribute.""" pass