Page Contents

Home > @loopback/cron > CronJob > onError

CronJob.onError() method

Signature:

onError(listener: (err: unknown) => void): void;

Parameters

Parameter Type Description
listener (err: unknown) => void  

Returns:

void