Drop redundant Err field from unsupportedVersionError

main

Commit

pfleidi3mo ago

The field always held the package sentinel errUnsupportedVersion and was read only by this type's Error and Unwrap methods. Wire both to the sentinel directly so the error carries only its per-instance context (checkpoint ID and version). The error string and errors.Is chain are unchanged.

Entire-Checkpoint: 35a0d0ce56a6

Checkpoints

Fix Checkpoint Version Error Handling

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1