backend: auto-generate error constants on const_missing
commite87d69883d050dfb24525a89bcd340250dad6991
authorEric Wong <normalperson@yhbt.net>
Thu, 8 Dec 2011 20:49:57 +0000 (8 20:49 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 8 Dec 2011 20:49:57 +0000 (8 20:49 +0000)
tree3a7d18494f34f6fa602722b62004a5543755f874
parent5c824e04d5de04b4d6c8fb58dfc60e4d3f6cd7c7
backend: auto-generate error constants on const_missing

This way, folks can rescue for exceptions we haven't defined,
yet.
lib/mogilefs/backend.rb
test/test_backend.rb