Skip to content

Commit ab75009

Browse files
authored
Merge pull request #1303 from square/ray/remember-error-message-tweak
Improves the error message thrown by `remember()` for duplicates.
2 parents b8e6bf0 + bd31e8d commit ab75009

File tree

1 file changed

+1
-1
lines changed
  • workflow-runtime/src/commonMain/kotlin/com/squareup/workflow1/internal

1 file changed

+1
-1
lines changed

workflow-runtime/src/commonMain/kotlin/com/squareup/workflow1/internal/WorkflowNode.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ internal class WorkflowNode<PropsT, StateT, OutputT, RenderingT>(
183183
key != it.key || resultType != it.resultType || !inputs.contentEquals(it.inputs),
184184
stackTraceKey = key
185185
) {
186-
"Expected combination of key, inputs and result type to be unique: \"$key\""
186+
"Expected unique combination of key, input types and result type: \"$key\""
187187
}
188188
}
189189

0 commit comments

Comments
 (0)