@maschinenlesbar.org/marktstammdatenregister-cli
    Preparing search index...

    Function describeMastrErrors

    • Describe a Kendo Errors value for an error message: a string as is; otherwise (a ModelState object such as {"": {"errors": ["Invalid filter"]}}, or an array) every string found in it, sanitised, blanks and repeats dropped, joined "; ". Returns undefined when nothing readable is left. clean runs on each raw string first (the engine passes its credential scrubber).

      Parameters

      • errors: unknown
      • clean: (text: string) => string = ...

      Returns string | undefined