P0086 Io Panics
Io
io.read_file() cannot read a directory; use io.list_dir() or io.walk() to list directory contents
When this occurs
This error is triggered when: io.read_file() cannot read a directory; use io.list_dir() or io.walk() to list directory contents
Example error message
error[P0086]:
io.read_file() cannot read a directory; use io.list_dir() or io.walk() to list directory contents
How to fix
Review the error message and check your code at the indicated location. The message describes what went wrong — fix the underlying issue it identifies.
Related errors
No related errors.