Sha256: 7e34830fc6fb0fa6dd1ff347212453103a6ef9730d81a6d0c8e7630f1955dffe

Contents?: true

Size: 274 Bytes

Versions: 2

Compression:

Stored size: 274 Bytes

Contents

module Ocp::Registry

  class Error < StandardError
    def self.code(code = 500)
      define_method(:code) { code }
    end
  end

  class FatalError < Error; end

  class ConfigError < Error; end
  class ConnectionError < Error; end

  class CloudError < Error ; end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ocp_registry-0.0.5.pre lib/ocp_registry/error.rb
ocp_registry-0.0.1.alpha lib/ocp_registry/error.rb