backend: raise exceptions with the error message
commitd6eff4e796bbb2c135f6e15d7c8580e16c6cbb5f
authorEric Wong <normalperson@yhbt.net>
Thu, 26 Feb 2009 21:55:56 +0000 (26 13:55 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 26 Feb 2009 21:55:56 +0000 (26 13:55 -0800)
treeb68d5b15e4cda02157573e9d93ed773c9767ad35
parentbc7e7cd06f1e2b4eacbf5b7595af6938c2332adc
backend: raise exceptions with the error message

Getting to lasterrstr from several levels up the stack is
annoying otherwise...
lib/mogilefs/backend.rb
test/test_backend.rb