gleam-lang/gleam
Include the destination in error message when copying/linking fails
Closed
#5,379 opened on Feb 20, 2026
help wanted
Repository metrics
- Stars
- (21,417 stars)
- PR merge metrics
- (Avg merge 10d 19h) (69 merged PRs in 30d)
Description
The problem
While working on #5378, I've noticed few TODOs about the need to add destination to error message, when copying or symlinking fails. It seems very useful for me.
Possible solution
- Add new optional field to error
- Update code for coversion to diagnostic
- Update all usages to include it
If it's desired feature, I will work on this!