Sha256: b4256afd98dc035e324f98463dcafc90ddaf0690b0f174a44ea1df9d0c502f33

Contents?: true

Size: 562 Bytes

Versions: 3

Compression:

Stored size: 562 Bytes

Contents

# frozen_string_literal: true

module Hcloud
  class Error < StandardError
    class Unauthorized < Error; end
    class ServerError < Error; end
    class Forbidden < Error; end
    class InvalidInput < Error; end
    class Locked < Error; end
    class NotFound < Error; end
    class RateLimitExceeded < Error; end
    class ResourceUnavailable < Error; end
    class ServiceError < Error; end
    class UniquenessError < Error; end
    class UnknownError < Error; end
    class UnexpectedError < Error; end
    class ResourcePathError < Error; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hcloud-1.3.0 lib/hcloud/errors.rb
hcloud-1.2.0 lib/hcloud/errors.rb
hcloud-1.1.0 lib/hcloud/errors.rb