Exception: DependencyProxy::BaseService::DownloadError

Inherits:
StandardError
  • Object
show all
Defined in:
app/services/dependency_proxy/base_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, http_status) ⇒ DownloadError

Returns a new instance of DownloadError.



8
9
10
11
12
# File 'app/services/dependency_proxy/base_service.rb', line 8

def initialize(message, http_status)
  @http_status = http_status

  super(message)
end

Instance Attribute Details

#http_statusObject (readonly)

Returns the value of attribute http_status.



6
7
8
# File 'app/services/dependency_proxy/base_service.rb', line 6

def http_status
  @http_status
end