Promise prototype for deferred and test catch().