View Source File.Error exception (Elixir v1.17.0)

An exception that is raised when a file operation fails.

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

  • :path (Path.t/0) - the path of the file that caused the error
  • :reason (File.posix/0) - the reason for the error