elixir icon indicating copy to clipboard operation
elixir copied to clipboard

File.IteratorError is an outdated name

Open pminten opened this issue 13 years ago • 1 comments

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?

pminten avatar Sep 07 '13 12:09 pminten

Good catch! Let's please rename it to IO.StreamError. :)

josevalim avatar Sep 07 '13 14:09 josevalim