Source code for hatchet.query.errors

# Copyright 2017-2023 Lawrence Livermore National Security, LLC and other
# Hatchet Project Developers. See the top-level LICENSE file for details.
#
# SPDX-License-Identifier: MIT


[docs]class InvalidQueryPath(Exception): """Raised when a query does not have the correct syntax"""
[docs]class InvalidQueryFilter(Exception): """Raised when a query filter does not have a valid syntax"""
[docs]class RedundantQueryFilterWarning(Warning): """Warned when a query filter does nothing or is redundant"""
[docs]class BadNumberNaryQueryArgs(Exception): """Raised when a query filter does not have a valid syntax"""
[docs]class MultiIndexModeMismatch(Exception): """Raised when an ObjectQuery or StringQuery object is set to use multi-indexed data, but no multi-indexed data is provided"""