about summary refs log tree commit homepage
path: root/lib/mogilefs.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2008-10-15 18:06:40 -0700
committerEric Wong <normalperson@yhbt.net>2008-10-15 18:07:56 -0700
commita62053e547279b59fd2ba3bcbe0a84583ecf23b7 (patch)
treec6b33bf68f512a294dbcedb63682fe6afde341f0 /lib/mogilefs.rb
parent20c337eb0c043e0033b794df93b51627f13b729e (diff)
downloadmogilefs-client-a62053e547279b59fd2ba3bcbe0a84583ecf23b7.tar.gz
The ArgumentErrors happen at initialization time, so
I'll keep those as-is
Diffstat (limited to 'lib/mogilefs.rb')
-rw-r--r--lib/mogilefs.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/mogilefs.rb b/lib/mogilefs.rb
index 6f75461..cbfc5da 100644
--- a/lib/mogilefs.rb
+++ b/lib/mogilefs.rb
@@ -16,6 +16,9 @@ module MogileFS
   class ReadOnlyError < Error
     def message; 'readonly mogilefs'; end
   end
+  class EmptyPathError < Error
+    def message; 'Empty path for mogile upload'; end
+  end
 
   class RequestTruncatedError < Error; end
   class InvalidResponseError < Error; end