Module | Chef::Formatters::APIErrorFormatting |
In: |
lib/chef/formatters/error_inspectors/api_error_formatting.rb
|
NETWORK_ERROR_CLASSES | = | [Errno::ECONNREFUSED, Timeout::Error, Errno::ETIMEDOUT, SocketError] |
Parses JSON from the error response sent by Chef Server and returns the error message