Skip to content

grpcerr/v1.2.0

Choose a tag to compare

@repenguin22 repenguin22 released this 11 Jul 08:29

Frame-placement improvement (ROADMAP §4). Requires core v1.2.0.

  • Changed FromError / FromStatus record the frame at their caller
    (via core's new WrapSkip(1)), so traces start where the wire error
    entered your code. The documented workaround — "the frame points inside
    grpcerr; wrap the result at the call site" — is retired; an existing
    errtrail.Wrap at the call site keeps working and simply adds one more
    frame. Requires core ≥ v1.2.0.