2020-06-29 23:05:14 -06:00
|
|
|
# Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
2021-03-03 22:12:11 -09:00
|
|
|
# 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.
|
2020-06-29 23:05:14 -06:00
|
|
|
|
|
|
|
|
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."""
|