about summary refs log tree commit homepage
path: root/lib/mogilefs.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-11-11 02:18:39 -0800
committerEric Wong <normalperson@yhbt.net>2011-11-11 23:42:25 +0000
commitdf3064c1cd63a9f626938f1dcde44f1909971a59 (patch)
treeb15769be047753166b96eac20882d6d3ede85201 /lib/mogilefs.rb
parentde7803e4c9732b5805679d4cada6370e26fd5d67 (diff)
downloadmogilefs-client-df3064c1cd63a9f626938f1dcde44f1909971a59.tar.gz
This is useful for the "verbose" listing of keys since
we make a lot of file_info calls here.  This API feels
very awkward, but I think it's unavoidable...
Diffstat (limited to 'lib/mogilefs.rb')
-rw-r--r--lib/mogilefs.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mogilefs.rb b/lib/mogilefs.rb
index d20f0f9..e05d289 100644
--- a/lib/mogilefs.rb
+++ b/lib/mogilefs.rb
@@ -46,6 +46,8 @@ module MogileFS
   # Raised when all known backends have failed.
   class UnreachableBackendError < Error; end
 
+  class BackendPipelineError < Error; end
+
   # IO.copy_stream was buggy in Ruby 1.9.2 and earlier
   if RUBY_VERSION >= "1.9.3"
     X = IO