-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
error messagesBetter, more actionable error messagesBetter, more actionable error messagesfilesystemUnderlying file system and functions that use itUnderlying file system and functions that use it
Description
The error message when moving a file to it's current location could be better:
julia> mv("file", "file")
ERROR: ArgumentError: 'file' exists. `force=true` is required to remove 'file' before moving.
Stacktrace:
[1] checkfor_mv_cp_cptree(src::String, dst::String, txt::String; force::Bool)
@ Base.Filesystem ./file.jl:334
[2] checkfor_mv_cp_cptree
@ ./file.jl:318 [inlined]
[3] #mv#15
@ ./file.jl:427 [inlined]
[4] mv(src::String, dst::String)
@ Base.Filesystem ./file.jl:426
[5] top-level scope
@ REPL[93]:1
Metadata
Metadata
Assignees
Labels
error messagesBetter, more actionable error messagesBetter, more actionable error messagesfilesystemUnderlying file system and functions that use itUnderlying file system and functions that use it