pai
    Preparing search index...

    Function die

    • Throws a CliError. Every refusal in pai goes through here.

      Parameters

      • msg: string

        The message the user sees.

      • code: string = 'cli_error'

        The error code, printed in the JSON error.

      • exitCode: number = 1

        The process exit code.

      Returns never