-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: expose syntax and type errors #424
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #424 +/- ##
==========================================
+ Coverage 78.65% 78.76% +0.10%
==========================================
Files 13 13
Lines 3983 4003 +20
==========================================
+ Hits 3133 3153 +20
- Misses 590 591 +1
+ Partials 260 259 -1 |
Coming to think about, |
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 |
I've supported this with #535 . |
Before submitting your PR, please confirm the following.
Solves Return structured errors #423
Unit tested
yaml.AsTokenScopedError
, tests added toerror_test.go