corn-config / corn

🌽 A simple and pain-free configuration language. Reference libcorn implementation and CLI.
https://cornlang.dev
MIT License
40 stars 5 forks source link

refactor: improve error handling and code quality #16

Closed JakeStanger closed 1 year ago

JakeStanger commented 1 year ago

Replaces any panics with proper error handling.

Removes all unwraps, replacing them with either proper error handling or expect calls where appropriate.

Introduces thiserror to reduce error boilerplate, along with some general improvements to error code.

Fixes several pedantic clippy warnings to improve code quality.

Updates a couple of dependencies.

Resolves #13.