Adding useful error message for File
authorTom Jackson <tjackson@fb.com>
Mon, 4 Mar 2013 19:52:58 +0000 (11:52 -0800)
committerJordan DeLong <jdelong@fb.com>
Tue, 19 Mar 2013 00:08:05 +0000 (17:08 -0700)
commit218b523148612c9eda1e4e817573c2309dae71fa
tree2917d3b3be39dcba250bbc1851ddd418a2b02d0d
parentf0abc60e82eb1dd1340eed6085f2307037ce48fe
Adding useful error message for File

Summary:
'open() failed' isn't too helpful. Seeing a filename there is. So I
added it.

Test Plan: Unit test

Reviewed By: mohittalwar@fb.com

FB internal diff: D725204
folly/File.cpp
folly/test/FileTest.cpp