code: @Override
    @Nonnull
    public Result set(final Object value) {
      if (value instanceof Throwable) {
        reject((Throwable) value);
      } else {
        resolve(value);
      }
      return this;
    }
docs: {@link #resolve(Object)} or {@link #reject(Throwable)} the given value.
  
  @param value Resolved value.