MCPcopy Create free account
hub / github.com/algolia/cli / ApplicationCreateFailed

Function ApplicationCreateFailed

pkg/telemetry/events.go:235–241  ·  view source on GitHub ↗

ApplicationCreateFailed is emitted when the creation flow failed, with the step it failed at.

(tracker *FlowTracker, err error)

Source from the content-addressed store, hash-verified

233// ApplicationCreateFailed is emitted when the creation flow failed, with the
234// step it failed at.
235func ApplicationCreateFailed(tracker *FlowTracker, err error) Event {
236 return Event{EventApplicationCreateFailed, map[string]any{
237 "step": tracker.Step(),
238 "duration_ms": tracker.DurationMS(),
239 "error_class": ErrorClass(err),
240 }}
241}
242
243// ApplicationPlanChangeStarted is emitted when the plan change flow begins
244// (dry runs are not tracked).

Callers 1

trackCreateOutcomeFunction · 0.92

Calls 3

ErrorClassFunction · 0.85
StepMethod · 0.80
DurationMSMethod · 0.80

Tested by

no test coverage detected