gitaly_client: Support structured errors for `UserCreateTag`
What does this MR do and why?
Gitaly is in the process to convert the UserCreateTag
RPC to use
structured errors so that it can clearly indicate to a client what has
gone wrong when an error is returned. This mechanism will replace the
current one where errors are embedded into a successful response.
Adapt the #add_tag
wrapper to handle these structured errors.
Part of gitaly#4137 (closed).
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.