Adds error messages for all errors in parse.zig and changes the main function so it no longer prints a useless trace when compiled in release mode. This way the user gets an error that actually points towards the problem and is not presented with garbage output.
I added more files to the fixtures folder, but I did not add any tests for them because the error message is what matters, and I don't know if we can capture and test what error got printed.
This depends on #8 because it has an error message for missing url/hash or path in dependency.
Adds error messages for all errors in
parse.zig
and changes the main function so it no longer prints a useless trace when compiled in release mode. This way the user gets an error that actually points towards the problem and is not presented with garbage output.I added more files to the fixtures folder, but I did not add any tests for them because the error message is what matters, and I don't know if we can capture and test what error got printed.
This depends on #8 because it has an error message for missing url/hash or path in dependency.