Files
sigma-rules/kql/errors.py
T

19 lines
548 B
Python
Raw Normal View History

2022-03-29 09:16:21 -05:00
# 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."""