More helpful error message with open(~/path/to/file.txt)
#54068
Labels
domain:error messages
Better, more actionable error messages
domain:filesystem
Underlying file system and functions that use it
I encountered the issue of not being able to use
~
to refer to my homedir on unix when (indirectly) callingopen(~/path/to/file.txt)
in the YAML.jl package: JuliaData/YAML.jl#137Though it seems the issue won't be "fixed", I'm very happy to see that on julia +nightly,
cd("~/Documents")
now provides a very helpful error message (I wasn't able to find a reference to the PR that fixed this):is there any chance this could be adopted in other IO methods, such as
open
(and others as applicable)? Now, it only says:ref:
Originally posted by vtjnash in #1136 (comment)
edit: apologies, didn't know it would @/vtjnash
The text was updated successfully, but these errors were encountered: