Function: toErrorMessage()
toErrorMessage(
error):string
Defined in: packages/workflow-engine/src/kernel/helpers/error-message.ts:6
Normalize a caught value (typed unknown at the catch site) into a
display-safe string: the Error#message when it is an Error,
otherwise its String(...) coercion.
Parameters
error
unknown
Returns
string