Exception: CemAcpt::Scan::ProfileNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- CemAcpt::Scan::ProfileNotFoundError
- Defined in:
- lib/cem_acpt/scan/errors.rb
Overview
Raised when a test case has no entry in ‘cem_acpt_scan.profiles.<scanner>` and so no scanner profile id 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) ⇒ ProfileNotFoundError
constructor
A new instance of ProfileNotFoundError.
Constructor Details
#initialize(test_case, scanner, config_key) ⇒ ProfileNotFoundError
Returns a new instance of ProfileNotFoundError.
13 14 15 |
# File 'lib/cem_acpt/scan/errors.rb', line 13 def initialize(test_case, scanner, config_key) super("No scanner profile id configured for test case '#{test_case}' (scanner: #{scanner}). Set '#{config_key}' in cem_acpt config.") end |