docs: Error strings are in fact localized, documentation was wrong.
[libguestfs.git] / src / guestfs.pod
index da03128..ae0c4df 100644 (file)
@@ -877,8 +877,8 @@ This closes the connection handle and frees up all resources used.
 
 =head1 ERROR HANDLING
 
-The convention in all functions that return C<int> is that they return
-C<-1> to indicate an error.
+API functions can return errors.  For example, almost all functions
+that return C<int> will return C<-1> to indicate an error.
 
 Additional information is available for errors: an error message
 string and optionally an error number (errno) if the thing that failed
@@ -906,10 +906,6 @@ returns C<NULL>.
 The lifetime of the returned string is until the next error occurs, or
 L</guestfs_close> is called.
 
-The error string is not localized (ie. is always in English), because
-this makes searching for error messages in search engines give the
-largest number of results.
-
 =head2 guestfs_last_errno
 
  int guestfs_last_errno (guestfs_h *g);