Exception: CemAcpt::Scan::DatastreamNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- CemAcpt::Scan::DatastreamNotFoundError
- Defined in:
- lib/cem_acpt/scan/errors.rb
Overview
Raised when a test case has no entry in ‘cem_acpt_scan.datastreams.openscap` and so no datastream path can be resolved. The message carries the missing config key so the operator can fix it without re-running.
Instance Method Summary collapse
-
#initialize(test_case, scanner, config_key) ⇒ DatastreamNotFoundError
constructor
A new instance of DatastreamNotFoundError.
Constructor Details
#initialize(test_case, scanner, config_key) ⇒ DatastreamNotFoundError
Returns a new instance of DatastreamNotFoundError.
48 49 50 |
# File 'lib/cem_acpt/scan/errors.rb', line 48 def initialize(test_case, scanner, config_key) super("No datastream configured for test case '#{test_case}' (scanner: #{scanner}). Set '#{config_key}' in cem_acpt config.") end |