Method: ChefApply::UI::ErrorPrinter#format_body

Defined in:
lib/chef_apply/ui/error_printer.rb

#format_bodyObject



141
142
143
144
145
146
147
148
149
# File 'lib/chef_apply/ui/error_printer.rb', line 141

def format_body
  if exception.is_a? ChefApply::Error
    format_workstation_exception
  elsif exception.is_a? Train::Error
    format_train_exception
  else
    format_other_exception
  end
end