v1.2.0
Additive only — no behavior changes for existing code (ROADMAP §4).
- Added
NewSkip(skip, code, msg)andWrapSkip(skip, err, msg)—
caller-skip constructors for error factories (external review round 6). A
helper likeapperr.NotFound(msg)built on plainNewrecords its own
line in every trace;skip=1points the frame at the factory's caller
instead (zapAddCallerSkipprecedent). Separate functions, so the
New/Wraphot path is unchanged.skip=0is exactlyNew/Wrap; a
skip past the top of the stack records the"unknown"frame; a negative
skip panics. Core coverage reaches 100% — the over-skip test exercises
the previously unreachablecaller()failure branch.