@kosko/cli-utilsFunctionshandleErrorpublichandleError CallablehandleError(err: unknown): voidHandles CLI errors.@remarksThis function prints error message to logger and terminates current process with status code specified in err object.@examplerun().catch(handleError);Parameterserr: unknownReturns void
Handles CLI errors.
This function prints error message to logger and terminates current process with status code specified in
err
object.