func IsPermanent(err error) bool {
	var tmp *PermanentError

	return errors.As(err, &tmp)
}
// IsPermanent is a test to see if an error is a permanent error.  It
// returns true if the error is wrapped by PermanentError, and false
// otherwise.
IsPermanent is a test to see if an error is a permanent error.  It
returns true if the error is wrapped by PermanentError, and false
otherwise.
// IsPermanent is a test to see if an error is a permanent error . It // returns true if the error is wrapped by PermanentError and false // otherwise .
func IsPermanent(err error) bool {
	var tmp *PermanentError
	return errors.As(err, &tmp)
}
func IsPermanent ( err error ) bool { var tmp * PermanentError return errors . As ( err , & tmp ) }
IsPermanent is a test to see if an error is a permanent error.
IsPermanent is a test to see if an error is a permanent error .