streams: change error message of openFileStream (#11438) [feature]

This commit is contained in:
jiro
2019-06-11 04:00:55 +09:00
committed by Andreas Rumpf
parent f8c8e319bc
commit ced0527ae3

View File

@@ -1241,7 +1241,7 @@ when not defined(js):
if open(f, filename, mode, bufSize):
return newFileStream(f)
else:
raise newEIO("cannot open file\n")
raise newEIO("cannot open file stream: " & filename)
when false:
type