View Source File.CopyError exception (Elixir v1.18.0-dev)

An exception that is raised when copying a file fails.

The following fields of this exception are public and can be accessed freely:

  • :source (Path.t/0) - the source path
  • :destination (Path.t/0) - the destination path
  • :reason (File.posix/0) - the reason why the file could not be copied