Function stringifyErrors

  • Format a list of CompilationErrors into a single string, with an error start position following each error. E.g. for line 1, column 2: The error message. [1, 2]

    Errors are separated with the separator, which defaults to ; , e.g.: The first error message. [1, 2]; The second error message. [3, 4]


    • errors: CompilationError[]

      an array of compilation errors

    • separator: string = '; '

      the characters with which to join the formatted errors.

    Returns string

Generated using TypeDoc