in lib/cc/analyzer/engine_output.rb [34:43]
def error
if !valid_json?
{ message: "Invalid JSON", output: raw_output }
elsif !validator.present?
{ message: "Unsupported document type", output: raw_output }
else
validator.error
end
end