Files
sigma-rules/kql/errors.py
T
2024-03-14 19:48:50 -05:00

19 lines
548 B
Python

# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
# or more contributor license agreements. Licensed under the Elastic License
# 2.0; you may not use this file except in compliance with the Elastic License
# 2.0.
from eql import EqlError, EqlParseError, EqlCompileError
class KqlParseError(EqlParseError):
"""EQL Parsing Error."""
class KqlCompileError(EqlCompileError):
"""Class for KQL-specific compile errors."""
class KqlRuntimeError(EqlError):
"""Error for failures within the KQL evaluator."""