Added Database error callbacks