File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2492,8 +2492,8 @@ defmodule File.LinkError do
2492
2492
2493
2493
For example, this exception is raised when trying to link to file that isn't present:
2494
2494
2495
- iex> File.ln!("source .txt", "target .txt")
2496
- ** (File.LinkError) could not create hard link from "source .txt" to "target .txt": no such file or directory
2495
+ iex> File.ln!("existing .txt", "link .txt")
2496
+ ** (File.LinkError) could not create hard link from "link .txt" to "existing .txt": no such file or directory
2497
2497
2498
2498
The following fields of this exception are public and can be accessed freely:
2499
2499
@@ -2509,8 +2509,8 @@ defmodule File.LinkError do
2509
2509
def message ( exception ) do
2510
2510
formatted = IO . iodata_to_binary ( :file . format_error ( exception . reason ) )
2511
2511
2512
- "could not #{ exception . action } from #{ inspect ( exception . existing ) } to " <>
2513
- "#{ inspect ( exception . new ) } : #{ formatted } "
2512
+ "could not #{ exception . action } from #{ inspect ( exception . new ) } to " <>
2513
+ "#{ inspect ( exception . existing ) } : #{ formatted } "
2514
2514
end
2515
2515
end
2516
2516
You can’t perform that action at this time.
0 commit comments