You have S3Error defined, but return errors.errorString (fmt.Errorf()?)
You have S3Error defined, but return errors.errorString (fmt.Errorf()?)