Sha256: 88d8ec832ae186c9a0a859b2286784dd727f2bcd433644e0fe19e1185856b44a

Contents?: true

Size: 610 Bytes

Versions: 9

Compression:

Stored size: 610 Bytes

Contents

module Gemfury
  # Base Error class
  Error = Class.new(StandardError)

  # The Gemfury gem version doesn't match the one on the server
  InvalidGemVersion = Class.new(Error)

  # Client#user_api_key is not defined or Gemfury returns 401
  Unauthorized = Class.new(Error)

  # Client is not allowed to perform this operation
  Forbidden = Class.new(Error)

  # Returned if something is not found
  NotFound = Class.new(Error)

  # Corrupt Gem File
  CorruptGemFile = Class.new(Error)

  # Version already exists
  DupeVersion = Class.new(Error)

  # TimeoutError for 503s
  TimeoutError = Class.new(Error)
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gemfury-0.5.0.beta1 lib/gemfury/error.rb
gemfury-0.4.26 lib/gemfury/error.rb
gemfury-0.4.26.beta1 lib/gemfury/error.rb
gemfury-0.4.25 lib/gemfury/error.rb
gemfury-0.4.24.beta5 lib/gemfury/error.rb
gemfury-0.4.24.beta4 lib/gemfury/error.rb
gemfury-0.4.24.beta3 lib/gemfury/error.rb
gemfury-0.4.24.beta1 lib/gemfury/error.rb
gemfury-0.4.23 lib/gemfury/error.rb