NogginErrorCode
The (closed-ish) union of stable error code strings. New codes can be added without a breaking change; renamed / removed codes always are one. Hosts that render user-facing strings key off this.
type NogginErrorCode =
| "noggin-error"
| "no-active-item"
| "no-file"
| "no-location"
| "no-scheme"
| "no-provider"
| "path-not-found"
| "path-required"
| "cycle"
| "placement-missing"
| "placement-invalid"
| "title-required"
| "text-required"
| "nothing-to-edit"
| "option-misused"
| "goto-unsupported"
| "goto-base-missing"
| "goto-path-required"
| "goto-unresolved"
| "has-descendants"
| "open-descendants"
| "pop-no-path"
| "invalid-note"
| "invalid-op"
| "invalid-document"
| "unsupported-schema"
| "lock-timeout"
| "io"
| "source-required"
| "dest-required";
Closed-ish union of error codes. New codes are non-breaking.