Registers an "errback". If the deferred result is already available and is an exception, the errback is executed immediately from this thread. If the deferred result is already available and isn't an exception, the errback is discarded. If the deferred result is not available, this errback is qu
(final Callback<R, E> eb)
| 749 | * @return {@code this} with an "updated" type. |
| 750 | */ |
| 751 | @SuppressWarnings("unchecked") |
| 752 | public <R, E> Deferred<T> addErrback(final Callback<R, E> eb) { |
| 753 | return addCallbacks((Callback<T, T>) ((Object) Callback.PASSTHROUGH), eb); |
| 754 | } |
| 755 | |
| 756 | /** |
| 757 | * Registers a callback both as a callback and as an "errback". |
nothing calls this directly
no test coverage detected