class Syskit::NoMatchingServiceForCompositionChild
Refinement of NoMatchingService for a composition child. It adds the information of the composition / child name
Attributes
child_name[R]
composition_model[R]
Public Class Methods
new(composition_model, child_name, task_model, required_service)
click to toggle source
Calls superclass method
Syskit::NoMatchingService.new
# File lib/syskit/exceptions.rb, line 186 def initialize(composition_model, child_name, task_model, required_service) @composition_model, @child_name = composition_model, child_name super(task_model, required_service) end
Public Instance Methods
pretty_print(pp)
click to toggle source
Calls superclass method
Syskit::NoMatchingService#pretty_print
# File lib/syskit/exceptions.rb, line 191 def pretty_print(pp) pp.text "while trying to fullfill the constraints on the child #{child_name} of #{composition_model.short_name}" pp.breakable super end