Source code for hutch.security.sumologic.exceptions
"""Provides SumoLogic related exceptions."""
[docs]class SumologicException(Exception):
"""A generic SumoLogic exception.
All exceptions should inherit from this to allow for hierarchical handling.
"""
[docs]class SearchTimeout(SumologicException):
"""Indicates that a tiemout was reached and the query incomplete."""
pass
[docs]class SearchException(SumologicException):
"""Indicates an error occurred during search."""
pass