Please document here or in the class docstring that `callback` doesn't take arguments. 

Also, perhaps `on_error` would be a better name?