Method: Chef::Formatters::APIErrorFormatting#describe_500_error

Defined in:
lib/chef/formatters/error_inspectors/api_error_formatting.rb

#describe_500_error(error_description) ⇒ Object



126
127
128
129
130
131
# File 'lib/chef/formatters/error_inspectors/api_error_formatting.rb', line 126

def describe_500_error(error_description)
  error_description.section("Unknown Server Error:", <<~E)
    The server had a fatal error attempting to load the node data.
  E
  error_description.section("Server Response:", format_rest_error)
end