blob: 2631bb97c31b260644acc3bad97b91e2b7f860c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "parser_limits.h"
#include "parsing_failed_exception.h"
#include <vespa/vespalib/util/stringfmt.h>
namespace document::select {
void throw_max_depth_exceeded_exception() {
throw ParsingFailedException(vespalib::make_string(
"expression is too deeply nested (max %u levels)", ParserLimits::MaxRecursionDepth));
}
}
|