Open nieomylnieja opened 7 months ago
:warning: Please install the to ensure uploads and comments are reliably processed by Codecov.
Attention: Patch coverage is 90.47619%
with 2 lines
in your changes missing coverage. Please review.
Project coverage is 78.76%. Comparing base (
b2a8cc6
) to head (8e172f1
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Coming to think about, TypeError
is equally useful as SyntaxError
.
Maybe we could simply export the whole package? Would you consider that @goccy?
Then we wouldn't need to implement any As...
extractor functions, anyone interested in reading these errors could simply do errors.As
on their own.
This is the one feature I'd look for over gopkg.in/yaml.v3. It should include source information though, i.e. line and column number.
@andig it does include these details, that's what the token.Token
exposes
Before submitting your PR, please confirm the following.
yaml.AsTokenScopedError
, tests added toerror_test.go