mirror of
				https://github.com/go-delve/delve.git
				synced 2025-11-04 14:36:47 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			185 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			185 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package debugger
 | 
						|
 | 
						|
import (
 | 
						|
	"fmt"
 | 
						|
)
 | 
						|
 | 
						|
func attachErrorMessage(pid int, err error) error {
 | 
						|
	//TODO: mention certificates?
 | 
						|
	return fmt.Errorf("could not attach to pid %d: %s", pid, err)
 | 
						|
}
 |