Skip to content

@graphty/graphty-element / index / ErrorSummary

Interface: ErrorSummary ​

Defined in: graphty-element/src/data/ErrorAggregator.ts:20

Summary of errors aggregated by category

Properties ​

categories ​

categories: Map<string, DataLoadingError[]>

Defined in: graphty-element/src/data/ErrorAggregator.ts:24

Errors grouped by category


message ​

message: string

Defined in: graphty-element/src/data/ErrorAggregator.ts:28

User-friendly summary message


primaryCategory? ​

optional primaryCategory?: string

Defined in: graphty-element/src/data/ErrorAggregator.ts:26

Most common error category


suggestion? ​

optional suggestion?: string

Defined in: graphty-element/src/data/ErrorAggregator.ts:30

Actionable suggestion for fixing the errors


totalErrors ​

totalErrors: number

Defined in: graphty-element/src/data/ErrorAggregator.ts:22

Total number of errors