Exception: Datadog::DI::Error::InvalidExpression Private
- Inherits:
-
Datadog::DI::Error
- Object
- StandardError
- Datadog::DI::Error
- Datadog::DI::Error::InvalidExpression
- Defined in:
- lib/datadog/di/error.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base class for exceptions arising during expression language AST compilation into Ruby code.
Expression language does not specify behavior in all cases, leaving some choices to the language implementation in the tracers. It is therefore possible that some technically valid expressions are prohibited by our implementation.
It is also possible that the sanitizers/validators prohibit some esoteric constructs that are technically valid in Ruby, for example if instance variable name rules are relaxed to allow arbitrary characters in them as permitted in method names.