Call success and error handlers if specified.
3.2.5