Optional $schema?: CorjSchemaLinkRoot only. Link to the JSON Schema of this report, controlled by the metadata option.
Optional as_JSON form of caught without the children_sources properties, see as_json_format; null when it has no JSON form or producing it threw. Cut values end with CORJ_TRUNCATED_MARKER. Omitted when {}.
Optional as_Omitted when "safe-stable-stringify-with-length-limit".
Optional as_String form of caught, see as_string_format; null when producing it threw. Omitted when it equals the first line of stack.
Optional as_Omitted when "String".
Optional children_Present when this node has child sources that were not reported.
Optional children_Root only. The properties children were collected from. Omitted when ["cause", "errors"].
Optional constructor_caught.constructor.name when it is a string; null when reading it threw. Omitted together with as_string and message when the first stack line is "<constructor_name>: <message>".
Optional instanceof_caught instanceof Error. Omitted when true.
Optional message?: string | nullcaught.message when it is a string; null when reading it threw. Omitted as described for constructor_name.
Optional stack?: string | string[] | nullcaught.stack when it is a string, split into lines by default (stackFormat); null when reading it threw.
Optional truncated?: truePresent when content or child reports were cut to meet maxReportSize. On a root it covers the whole report.
Optional typeof?: CorjTypeoftypeof caught. Omitted when "object".
Optional v?: CorjVersionRoot only. Report version, controlled by the metadata option.
Fields shared by the root report and every child report.
With
omitExpectedValues(the default) a field holding its expected value is left out, see CORJ_EXPECTED_VALUES: a missing field means the expected value,nullmeans producing the value failed. restoreExpectedValues fills them back in.