Sha256: e4f71c0c5eeac0590478d820a86e0a7c3ef50cc7e216dd52c3621e398b3e773f

Contents?: true

Size: 294 Bytes

Versions: 5

Compression:

Stored size: 294 Bytes

Contents

module Rmega
  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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rmega-0.3.2 lib/rmega/errors.rb
rmega-0.3.1 lib/rmega/errors.rb
rmega-0.2.7 lib/rmega/errors.rb
rmega-0.2.6 lib/rmega/errors.rb
rmega-0.2.5 lib/rmega/errors.rb