Update sendMessage failure callback to use typedef block.