Skip to content

API reference / @docmentis/udoc-node / Engine types / BindingError

Type Alias: BindingError ​

ts
type BindingError = 
  | "unclosedTag"
  | "unclosedQuote"
  | "empty"
  | {
  unexpected: {
     found: string;
  };
}
  | "unclosedPair"
  | "unmatchedClose"
  | "misplacedOption"
  | "emptyChoice"
  | "textBeforeOption"
  | "splitPair"
  | "conflictingType";

What is wrong with a binding: with its tag, as written or where it stands, or with the type it implies.