type

EditError

EditError identifies a failed explicit authoring edit. Failed transactions return the original graph and publish no partial changes.

Properties

PropertyTypeDescription
CodestringThe Code value.
NamestringThe Name value.
ExpectedstringExpected and Actual name the concrete field shapes for incompatible edits.
ActualstringThe Actual value.

Full signature

type EditError struct { Code string Name string // Expected and Actual name the concrete field shapes for incompatible edits. Expected string Actual string }

Source field/graph_edit.go:187

Methods