CorjReportChild: CorjReportBase & {
    child_ids?: string[];
    id: string;
    level: number;
    path: string;
}

One node of a flattened error tree: an element of CorjReport.children, or of the array produced by makeCorjArray whose first element is the root.

Type declaration

  • Optional child_ids?: string[]

    IDs of this node's direct children. An object seen before is not reported twice: its first ID is referenced instead.

  • id: string

    From makeReportId; "root" for the root and the discovery index otherwise by default.

  • level: number

    Depth in the error tree; the root is 0.

  • path: string

    JSONPath from the root caught object, e.g. $.cause.errors[0].