node: clean up `UploadError`
This change better separates the different errors that can occur during an upload. It does this by:
- Separating the authorization error into its own enum and having a variant simply for that
- The
PacketLineerror was never constructed, so the error returned from theupload_pack::pktline::git_requestis now wrapped in this variant. - The error from
upload_pack::upload_packis now wrapped in anUploadPackvariant. - The
Iovariant is removed. - Other redundant variants are also removed.
This change better separates the different errors that can occur during an upload. It does this by:
- Separating the authorization error into its own enum and having a variant simply for that
- The
PacketLineerror was never constructed, so the error returned from theupload_pack::pktline::git_requestis now wrapped in this variant. - The error from
upload_pack::upload_packis now wrapped in anUploadPackvariant. - The
Iovariant is removed. - Other redundant variants are also removed.
Rebased