UserError: (new (message, opts?) => Error)

Type declaration

    • new (message, opts?): Error
    • Parameters

      • message: string
      • Optional opts: {
            cause: unknown;
        }
        • cause: unknown

      Returns Error