lib/rmega/errors.rb in rmega-0.2.4 vs lib/rmega/errors.rb in rmega-0.2.5
- old
+ new
@@ -2,6 +2,16 @@
class ServerError < StandardError
end
class TemporaryServerError < StandardError
end
+
+ class BandwidthLimitExceeded < StandardError
+ def initialize(*args)
+ if args.any?
+ super
+ else
+ super("Transfer quota exceeded")
+ end
+ end
+ end
end