Sha256: 5eb832528044b0db0be06ba2dc3db8e67c01d0e4b5ad5911d31dffe1742ef3c8

Contents?: true

Size: 685 Bytes

Versions: 17

Compression:

Stored size: 685 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)

  # Account is locked for another operation
  Conflict = 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

17 entries across 17 versions & 1 rubygems

Version Path
gemfury-0.12.1 lib/gemfury/error.rb
gemfury-0.12.0 lib/gemfury/error.rb
gemfury-0.12.0.rc2 lib/gemfury/error.rb
gemfury-0.12.0.rc1 lib/gemfury/error.rb
gemfury-0.11.0 lib/gemfury/error.rb
gemfury-0.11.0.rc1 lib/gemfury/error.rb
gemfury-0.10.0 lib/gemfury/error.rb
gemfury-0.10.0.rc1 lib/gemfury/error.rb
gemfury-0.9.1 lib/gemfury/error.rb
gemfury-0.9.0.rc1 lib/gemfury/error.rb
gemfury-0.8.0 lib/gemfury/error.rb
gemfury-0.8.0.rc1 lib/gemfury/error.rb
gemfury-0.7.0 lib/gemfury/error.rb
gemfury-0.6.0 lib/gemfury/error.rb
gemfury-0.6.0.rc1 lib/gemfury/error.rb
gemfury-0.5.0 lib/gemfury/error.rb
gemfury-0.5.0.beta3 lib/gemfury/error.rb