Exception: CemAcpt::Scan::ProfileNotFoundError

Inherits:
StandardError
  • Object
show all
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

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