correct function signature for Pkg::CallbackErrorScanDb() callback