Hyperlinkv0.8.0-beta.28

Graph

Graph.GraphErrorclasseffect/Graph.ts:346
GraphError

Error thrown by graph operations when the requested graph structure is invalid, such as referencing a missing node or using unsupported edge weights.

When to use

Use when handling failures thrown by graph operations that reject invalid graph structure or unsupported algorithm inputs.

errors
Source effect/Graph.ts:3463 lines
export class GraphError extends Data.TaggedError("GraphError")<{
  readonly message: string
}> {}
Referenced by 7 symbols