Correct function signature for Pkg::CallbackErrorScanDb() callback