Sha256: e951b8b5127b74c4e611469e150d88a54e70296883f042be68e3764fa64c75be

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 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 ResourceUnavilable < 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

4 entries across 4 versions & 1 rubygems

Version Path
hcloud-1.0.3 lib/hcloud/errors.rb
hcloud-1.0.2 lib/hcloud/errors.rb
hcloud-1.0.1 lib/hcloud/errors.rb
hcloud-1.0.0 lib/hcloud/errors.rb