Skip to content

@graphty/graphty-element / index / Problem

Interface: Problem ​

Defined in: graphty-element/src/session/notes/types.ts:221

One thing a report says about a document: where, why, and its code.

Properties ​

code ​

readonly code: GraphtyErrorCode | GraphtyWarningCode

Defined in: graphty-element/src/session/notes/types.ts:229

The error or warning code.


details? ​

readonly optional details?: Readonly<Record<string, unknown>>

Defined in: graphty-element/src/session/notes/types.ts:227

More about it, by code.


reason ​

readonly reason: string

Defined in: graphty-element/src/session/notes/types.ts:225

One sentence a person can act on.


what ​

readonly what: string

Defined in: graphty-element/src/session/notes/types.ts:223

Where: a JSON pointer into the document (/notes/3/time).