You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal: phase out DecorateError in favor of errors.Wrap
The former seems to have been a thing in the old evaluator code
deleted in 2020, but a single call remained in the subsume package.
All that a decorated error did was augment an errors.Error value
with a Go error so that errors.Is would work with either.
errors.Wrap gives us the same property, and is more consistent
with the rest of the codebase nowadays.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I5a3acf0381c83e0e36c18708cfb586ceccc7e2f2
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1200973
Reviewed-by: Roger Peppe <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments