Source code for hutch.security.parsers.exceptions
"""Provides parser related exceptions."""
[docs]class ParserException(Exception):
"""A generic parser exception.
All exceptions should inherit from this to allow for hierarchical handling.
"""
pass
[docs]class FieldNotFoundException(ParserException):
"""Indicates that a requested field was not found."""
pass