Why no TypeError in FileReaderSync.readAsArrayBuffer

Hi,  

because I didn't know a FileEntrySync was actually not a File, I passed an instance of FileEntrySync to a FileReaderSync. Instead I got a NotFoundError which I found very confusing as I know the file was present. So I was wondering why there is no TypeError for such situations?

Best,  
Norman

--
Norman Rzepka

norman.rzepka@scalableminds.com (mailto:norman.rzepka@scalableminds.com)
http://scalableminds.com

scalable minds
UG (haftungsbeschränkt) & Co. KG
Amtsgericht Potsdam, HRA 5753
Geschäftsführer: Dominic Bräunlein, Tom Bocklisch, Tom Herold, Norman Rzepka, Thomas Werkmeister

Received on Sunday, 10 November 2013 17:29:28 UTC