diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-11-11 02:18:39 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-11-11 23:42:25 +0000 |
commit | df3064c1cd63a9f626938f1dcde44f1909971a59 (patch) | |
tree | b15769be047753166b96eac20882d6d3ede85201 /lib/mogilefs.rb | |
parent | de7803e4c9732b5805679d4cada6370e26fd5d67 (diff) | |
download | mogilefs-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.rb | 2 |
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 |