indexType aliases
Type Alias: OnErrorHandler
> OnErrorHandler = (error, props) => void | Promise<void>
Defined in: src/core/OnErrorHandler.ts:7
Type for on-error handlers. Handlers accept the error object and the step props; they may be synchronous or asynchronous.
Parameters
error
unknown
props
Partial<StepLabelProps>
Returns
void | Promise<void>