newGraphNodeError method
Constructs a new instance of GraphNodeError that describes the location in the graph.
Implementation
GraphNodeError newGraphNodeError({
required Object? value,
required String reason,
}) {
return GraphNodeError(
name: errorPrimaryLabel,
node: value,
pathEdges: pathEdges,
reason: reason,
);
}