ApplicationCreateAborted is emitted when the user stopped the creation flow, with the step they stopped at and the reason why.
(tracker *FlowTracker, reason AbortReason)
| 221 | // ApplicationCreateAborted is emitted when the user stopped the creation flow, |
| 222 | // with the step they stopped at and the reason why. |
| 223 | func ApplicationCreateAborted(tracker *FlowTracker, reason AbortReason) Event { |
| 224 | props := map[string]any{ |
| 225 | "step": tracker.Step(), |
| 226 | } |
| 227 | if reason != "" { |
| 228 | props["reason"] = reason |
| 229 | } |
| 230 | return Event{EventApplicationCreateAborted, props} |
| 231 | } |
| 232 | |
| 233 | // ApplicationCreateFailed is emitted when the creation flow failed, with the |
| 234 | // step it failed at. |