Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
node: clean up `UploadError`
Merged fintohaps opened 11 months ago

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 PacketLine error was never constructed, so the error returned from the upload_pack::pktline::git_request is now wrapped in this variant.
  • The error from upload_pack::upload_pack is now wrapped in an UploadPack variant.
  • The Io variant is removed.
  • Other redundant variants are also removed.
fintohaps opened with revision e85ff9a0 on base e0d18b86 +15 -13 11 months ago

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 PacketLine error was never constructed, so the error returned from the upload_pack::pktline::git_request is now wrapped in this variant.
  • The error from upload_pack::upload_pack is now wrapped in an UploadPack variant.
  • The Io variant is removed.
  • Other redundant variants are also removed.
fintohaps pushed revision 2 17dc49dd on base db3b3b05 +15 -13 9 months ago

Rebased

fintohaps merged revision 17dc49dd at e965d9a2 9 months ago