MCPcopy Index your code
hub / github.com/OpenTSDB/async / addErrback

Method addErrback

src/Deferred.java:751–754  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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".

Callers

nothing calls this directly

Calls 1

addCallbacksMethod · 0.95

Tested by

no test coverage detected