class Octokit::Error

def response_error

def response_error
  "Error: #{data[:error]}" if data.is_a?(Hash) && data[:error]
end