gleam-lang / gleam

⭐️ A friendly language for building type-safe, scalable systems!
https://gleam.run
Apache License 2.0
17.84k stars 745 forks source link

refine errors from version resolver library #1820

Open keroami opened 1 year ago

keroami commented 1 year ago

gleam add sdfsgdfhsdgf could state "package not found", whereas gleam add gleeunit while e.g. the network is down could state "network failure".

Background: aarch64-linux static precompiled binary from github gave me a very specific network problem (when running in Termux on Android), which a version that I compiled within Termux did not suffer from. While it goes too far to report on the specific problem, an indication that there is a network problem, would help.

All v0.24.0

lpil commented 1 year ago

For sure! Let's improve this lots. The current errors are nowhere near as good as they are expected to be, not sure why.