Class: Datadog::DI::Error::EvaluationTimeout Private

Inherits:
ExpressionEvaluationError show all
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

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.

Parameters:

  • message (String) (defaults to: DEFAULT_MESSAGE) —

    exception message.



107
108
109
# File 'lib/datadog/di/error.rb', line 107

def initialize(message: DEFAULT_MESSAGE)
  super(message)
end