#Getting error invalid argument when reading file

2 messages · Page 1 of 1 (latest)

chrome socket
#

I have a file i am trying to read the content of but whenever i call a read function it throws "invalid argument"

#

Turns out i hadnt checked if an err was nil in another function and it was returning no error and a bad pointer