diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-11-12 08:01:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-12 08:01:12 +0000 |
commit | ec7e00ad0a277c3b760d0f88482108bd0624224e (patch) | |
tree | dc02dfb2429167632f089b9008e408d4c0ee3aeb /lib/mogilefs.rb | |
parent | fd01fa4d894130e2e7dec48b3ea45846124cd15d (diff) | |
download | mogilefs-client-ec7e00ad0a277c3b760d0f88482108bd0624224e.tar.gz |
PipelineError was misnamed should be recoverable in user code. MogileFS::Error should be raised for bugs (in our code or user's code).
Diffstat (limited to 'lib/mogilefs.rb')
-rw-r--r-- | lib/mogilefs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mogilefs.rb b/lib/mogilefs.rb index a8d2924..8193a5f 100644 --- a/lib/mogilefs.rb +++ b/lib/mogilefs.rb @@ -45,7 +45,7 @@ module MogileFS # Raised when all known backends have failed. class UnreachableBackendError < Error; end - class BackendPipelineError < Error; end + class PipelineError < Error; end # IO.copy_stream was buggy in Ruby 1.9.2 and earlier if RUBY_VERSION >= "1.9.3" |