Skip to content
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

#214 Emit more descriptive errors #222

Merged
merged 4 commits into from Nov 23, 2023

Conversation

fktn-k
Copy link
Owner

@fktn-k fktn-k commented Nov 23, 2023

Currently, fkYAML emits an fkyaml::exception object when some error is detected at runtime.
The fkyaml::exception object only contains information of what kind of error detected without any runtime information.
Such information makes it too difficult to dig into the actual issue causing the error.
So, this PR has made error descriptions emitted from fkYAML more useful for further debugging.
See the API documentation for the newly added exception classes and their error message contents.

@fktn-k fktn-k added the improvement refactoring or optimization without public API changes label Nov 23, 2023
@fktn-k fktn-k added this to the Release v0.2.2 milestone Nov 23, 2023
@fktn-k fktn-k self-assigned this Nov 23, 2023
@coveralls
Copy link

coveralls commented Nov 23, 2023

Coverage Status

coverage: 100.0%. remained the same
when pulling c3e65d2 on feature/214_emit_more_descriptive_errors
into 00d0433 on develop.

@fktn-k fktn-k merged commit c374445 into develop Nov 23, 2023
103 checks passed
@fktn-k fktn-k deleted the feature/214_emit_more_descriptive_errors branch November 23, 2023 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement refactoring or optimization without public API changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants