lib/salus/scanners/base.rb
def report_error(error_data)
      unless error_data.is_a?(Hash)
        raise "`report_error` must take in a hash, not a #{error_data.class}"
      end

      @report.salus_error(name, error_data)
    end
# Report an error in a scanner.
Report an error in a scanner.
Report an error in a scanner .
def report_error(error_data)
      unless error_data.is_a?(Hash)
        raise "`report_error` must take in a hash, not a #{error_data.class}"
      end
      @report.salus_error(name, error_data)
    end
def report_error ( error_data ) unless error_data . is_a? ( Hash ) raise "`report_error` must take in a hash, not a #{error_data.class}" end @report . salus_error ( name , error_data ) end
Report an error in a scanner.
Report an error in a scanner .
error_data