# frozen_string_literal: true json.extract! @error, :message, :type