Class: Datadog::DI::Error::EvaluationTimeout Private
- Inherits:
-
ExpressionEvaluationError
- Object
- Error
- ExpressionEvaluationError
- Datadog::DI::Error::EvaluationTimeout
- 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.
Raised when expression evaluation exceeds the configured
evaluation CPU-time budget, or a matches operator exceeds its
per-match wall-clock bound.
Constant Summary collapse
- DEFAULT_MESSAGE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
Default message for EvaluationTimeout exceptions.
"expression evaluation timeout"
Instance Method Summary collapse
-
#initialize(message: DEFAULT_MESSAGE) ⇒ void
constructor
private
Builds the exception, defaulting
messageto DEFAULT_MESSAGE.
Constructor Details
#initialize(message: DEFAULT_MESSAGE) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Builds the exception, defaulting message to DEFAULT_MESSAGE.
107 108 109 |
# File 'lib/datadog/di/error.rb', line 107 def initialize(message: DEFAULT_MESSAGE) super() end |