Exception: Script::Layers::Infrastructure::Errors::PackagesOutdatedError

Inherits:
ScriptProjectError
  • Object
show all
Defined in:
lib/project_types/script/layers/infrastructure/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(outdated_packages) ⇒ PackagesOutdatedError

Returns a new instance of PackagesOutdatedError.



39
40
41
42
# File 'lib/project_types/script/layers/infrastructure/errors.rb', line 39

def initialize(outdated_packages)
  super("EP packages are outdated and need to be updated: #{outdated_packages.join(', ')}")
  @outdated_packages = outdated_packages
end

Instance Attribute Details

#outdated_packagesObject (readonly)

Returns the value of attribute outdated_packages.



38
39
40
# File 'lib/project_types/script/layers/infrastructure/errors.rb', line 38

def outdated_packages
  @outdated_packages
end