code: @NotNull
      public Exceptional<T> ifException(@NotNull Consumer<Throwable> consumer) {
          if (throwable != null) {
              consumer.accept(throwable);
          }
          return this;
      }
docs: Invokes consumer function if there were any exception.
  
  @param consumer  a consumer function
  @return an {@code Exceptional}