Class: Autoproj::PackageImportFailed

Inherits:
ImportFailed
  • Object
show all
Defined in:
lib/autoproj/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ImportFailed

#empty?

Constructor Details

#initialize(original_errors, source_packages: [], osdep_packages: []) ⇒ PackageImportFailed

Returns a new instance of PackageImportFailed.



28
29
30
31
32
# File 'lib/autoproj/exceptions.rb', line 28

def initialize(original_errors, source_packages: [], osdep_packages: [])
    super(original_errors)
    @source_packages = source_packages
    @osdep_packages = osdep_packages
end

Instance Attribute Details

#osdep_packagesObject (readonly)

The list of osdep packages that should be installed because of #source_packages



26
27
28
# File 'lib/autoproj/exceptions.rb', line 26

def osdep_packages
  @osdep_packages
end

#source_packagesObject (readonly)

The list of the source packages that have been updated



23
24
25
# File 'lib/autoproj/exceptions.rb', line 23

def source_packages
  @source_packages
end