File tree Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Expand file tree Collapse file tree 1 file changed +7
-22
lines changed Original file line number Diff line number Diff line change @@ -93,32 +93,17 @@ const UserFlow = {
93
93
}
94
94
} ,
95
95
96
- completeWithUnexpectedFail (
96
+ completeWithFail (
97
97
flowId : FlowId ,
98
- reason : string ,
99
- failureLocation : string ,
98
+ errorName : string ,
99
+ debugInfo : ? string = null ,
100
100
) : void {
101
- if ( global . nativeUserFlowCompleteWithUnexpectedFail ) {
102
- global . nativeUserFlowCompleteWithUnexpectedFail (
101
+ if ( global . nativeUserFlowCompleteWithFail ) {
102
+ global . nativeUserFlowCompleteWithFail (
103
103
flowId . markerId ,
104
104
flowId . instanceKey ,
105
- reason ,
106
- failureLocation ,
107
- ) ;
108
- }
109
- } ,
110
-
111
- completeWithExpectedFail (
112
- flowId : FlowId ,
113
- reason : string ,
114
- failureLocation : string ,
115
- ) : void {
116
- if ( global . nativeUserFlowCompleteWithExpectedFail ) {
117
- global . nativeUserFlowCompleteWithExpectedFail (
118
- flowId . markerId ,
119
- flowId . instanceKey ,
120
- reason ,
121
- failureLocation ,
105
+ errorName ,
106
+ debugInfo ,
122
107
) ;
123
108
}
124
109
} ,
You can’t perform that action at this time.
0 commit comments