module Crowbar::Client::Mixin::UpgradeError
A mixin with upgrade error related helpers
Public Instance Methods
format_error(response, step)
click to toggle source
# File lib/crowbar/client/mixin/upgrade_error.rb, line 29 def format_error(response, step) JSON.parse(response.body)["errors"][step]["data"] rescue "Unable to format error response for #{step}" end