Polyman Documentation - v2.2.2
    Preparing search index...

    Function logError

    • Logs an error message with a cross icon. Formats the error using the formatter.

      Parameters

      • error: unknown

        Error to log

      • indent: number = 1

      Returns void

      try {
      await compileCPP('invalid.cpp');
      } catch (error) {
      logError(error);
      }