mirror of
				https://github.com/restic/restic.git
				synced 2025-11-04 04:16:58 +00:00 
			
		
		
		
	errors: Add "Fatal" prefix for Fatalf()
This commit is contained in:
		@@ -34,5 +34,5 @@ func Fatal(s string) error {
 | 
			
		||||
 | 
			
		||||
// Fatalf returns an error which implements the Fataler interface.
 | 
			
		||||
func Fatalf(s string, data ...interface{}) error {
 | 
			
		||||
	return fatalError(fmt.Sprintf(s, data...))
 | 
			
		||||
	return Wrap(fatalError(fmt.Sprintf(s, data...)), "Fatal")
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user