public static void removePendingThrowable(ClientRequestContext ctx) {
        requireNonNull(ctx, "ctx");
        if (!ctx.hasAttr(CLIENT_PENDING_THROWABLE)) {
            return;
        }
        ctx.setAttr(CLIENT_PENDING_THROWABLE, null);
    }
Removes the pending throwable set by {@link #setPendingThrowable(ClientRequestContext, Throwable)}.

<p>For example:<pre>{@code
final Throwable throwable = pendingThrowable(ctx);
assert throwable != null;
assertThat(throwable).isEqualTo(e);
removePendingThrowable(ctx);
assertThat(pendingThrowable(ctx)).isNull();
}</pre>
core/src/main/java/com/linecorp/armeria/internal/client/ClientPendingThrowableUtil.java