Exception: Datadog::AppSec::Processor::RuleMerger::RuleVersionMismatchError
- Inherits:
-
StandardError
- Object
- StandardError
- Datadog::AppSec::Processor::RuleMerger::RuleVersionMismatchError
- Defined in:
- lib/datadog/appsec/processor/rule_merger.rb
Overview
RuleVersionMismatchError
Instance Method Summary collapse
-
#initialize(version1, version2) ⇒ RuleVersionMismatchError
constructor
A new instance of RuleVersionMismatchError.
Constructor Details
#initialize(version1, version2) ⇒ RuleVersionMismatchError
Returns a new instance of RuleVersionMismatchError.
13 14 15 16 17 18 |
# File 'lib/datadog/appsec/processor/rule_merger.rb', line 13 def initialize(version1, version2) msg = 'Merging rule files with different version could lead to unkown behaviour. '\ "We have receieve two rule files with versions: #{version1}, #{version2}. "\ 'Please validate the configuration is correct and try again.' super(msg) end |