Better diagnostics for ValueError: Insufficient arguments passed to process