hxcpp
hxcpp copied to clipboard
Make sys_read_dir errors consistent between platforms
Haxe documentation specifies that an exception should be thrown if the path is not a valid directory:
If
pathdoes not denote a valid directory, an exception is thrown.
This was already the case on all platforms except Windows, where null was returned. Now the behavior is consistent.