Skip to content

gix-error v0.2.5

Choose a tag to compare

@Byron Byron released this 15 Jul 03:49
27aec47

Bug Fixes

  • keep erased errors visible to source-iteration and downcasting
    Since 499402c, erasing an Exn wraps its error in the Untyped marker so that
    the typed accessors of Exn keep working. However, the marker also hid
    the original error from everything that walks the error afterwards: frames now
    yielded the marker, which cannot be downcast to the original type, and whose
    empty Error implementation cut off the source chain below it.

    This broke gix diff file, whose fallback for treating a revspec as a path on
    disk downcasts the sources() of a failed rev-parse to find the ref-not-found
    error - it would now fail with "couldn't parse revision" instead.

Commit Statistics

  • 4 commits contributed to the release.
  • 50 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #2694

Commit Details

view details
  • #2694
    • Keep erased errors visible to source-iteration and downcasting (ccd5bd4)
  • Uncategorized
    • Merge pull request #2702 from ameyypawar/fix/2694-exn-source-chain (e9c973d)
    • Review (dc1fdc3)
    • Merge pull request #2618 from GitoxideLabs/report (f7d4f33)