#Gettings errors out of stdout/stdin writer/reader

1 messages · Page 1 of 1 (latest)

vapid heath
#

How can I access the Error field in the std.io.getStdIn.reader() (as well as the writer error for stdout). I tried to do std.io.getStdIn().reader().Error, but it just says no field named 'Error' in struct 'io.GenericWriter(...)'

steel wigeon
#

@TypeOf(std.io.getStdIn().reader()).Error