Skip to content

@graphty/graphty-element / extend / ImportIssue

Interface: ImportIssue ​

Defined in: graph-io/dist/src/types.d.ts:443

One problem found while importing.

Properties ​

category ​

readonly category: IssueCategory

Defined in: graph-io/dist/src/types.d.ts:445

The category.


code ​

readonly code: string

Defined in: graph-io/dist/src/types.d.ts:452

A stable code; E_ for errors, W_ for warnings ("E_UNKNOWN_NODE", "W_WIDENED").


element ​

readonly element: string | null

Defined in: graph-io/dist/src/types.d.ts:458

The node id, edge id or attribute name involved, or null.


line ​

readonly line: number | null

Defined in: graph-io/dist/src/types.d.ts:456

The 1-based line in the input, or null when the format has no lines or it is unknown.


message ​

readonly message: string

Defined in: graph-io/dist/src/types.d.ts:454

A plain-English message.


severity ​

readonly severity: "error" | "warning"

Defined in: graph-io/dist/src/types.d.ts:450

"error": the element was skipped and counts toward errorLimit. "warning": the element was kept, possibly changed.