Method: Chef::Formatters::APIErrorFormatting#describe_503_error

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

#describe_503_error(error_description) ⇒ Object



133
134
135
136
# File 'lib/chef/formatters/error_inspectors/api_error_formatting.rb', line 133

def describe_503_error(error_description)
  error_description.section("Server Unavailable", "The #{ChefUtils::Dist::Server::PRODUCT} is temporarily unavailable")
  error_description.section("Server Response:", format_rest_error)
end