ErrorFn
ErrorFn<
T> = (command,errors,input) =>void|Promise<void>
Defined in: packages/core/dist/index.d.mts:191
Command error handler.
Type Parameters
Section titled “Type Parameters”T extends Input
Parameters
Section titled “Parameters”command
Section titled “command”Command<T>
errors
Section titled “errors”Error[]
Partial<InferInput<T>>
Returns
Section titled “Returns”void | Promise<void>