public function done($onfulfill, $onreject = NULL) { $this->then($onfulfill, $onreject)->then(NULL, function ($error) { throw new UncatchableException("", 0, $error); }); }