fleet/frontend/utilities/format_api_errors/index.js