Got argument names wrong for error callback