CIA Compliance Manager API Documentation - v0.8.5

    Variable formatError

    formatError: (err: unknown, prefix?: string) => string

    Type declaration

      • (err: unknown, prefix?: string): string
      • Formats an error for consistent logging

        Parameters

        • err: unknown

          The error to format

        • Optionalprefix: string

          Optional prefix for the error message

        Returns string

        A formatted error message

    MMNEPVFCICPMFPCPTTAAATR