tiny fixed coding standards -- param ``err`` in callbacks
(cherry picked from commit 6a830312f8196c6287ce54a7ed26b0311d056e4e)