elixir
elixir copied to clipboard
File.IteratorError is an outdated name
Stream functions in IO and File throw File.IteratorError. That name seems to be a relict of when iterators were used in the collections libraries. Maybe rename to File.StreamError or IO.StreamError (IO throws this as well)? Or perhaps have a general StreamError for errors that can't be reported otherwise because it would make the resulting stream hard to use?
Good catch! Let's please rename it to IO.StreamError. :)