Select only the constants that are actually Errors

On Rubinius, there are a few other constants that end up under the Errno namespace (other than the myriad SystemCallError classes).

Ironically, one of these is Errno::Mapping, which ironically is there to serve the same purpose as the hash you're constructing here.

Anyway, adding this line will prevent the other constants from ending up in the inject block and raising an exception on Rubinius.
Merge pull request #1 from jemc/patch-1

Select only the constants that are actually Errors