Method: Chef::RunStatus#formatted_exception

Defined in:
lib/chef/run_status.rb

#formatted_exceptionObject

Returns a string of the format “ExceptionClass: message” or nil if no exception is set.



120
121
122
# File 'lib/chef/run_status.rb', line 120

def formatted_exception
  @exception && "#{@exception.class.name}: #{@exception.message}"
end