You’ve listed three scenarios where an error is returned, but that’s not quite complete. Is there a way to return success when there is nothing to scan? Currently it returns:
[error]No files have been found to scan
But I would like to consider this a successful scan.