Files
sigma-rules/kql/errors.py
T
2021-03-03 22:12:11 -09: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."""