public <T> T suppressAppend(CheckedSupplier<T> supplier, T defaultValue) {
        try {
            return supplier.get();
        } catch (Throwable t) {
            throwables.add(t);
            return defaultValue;
        }
    }
Run a piece of code and record any thrown exception at the end of the exception chain.

@param supplier     Code to execute.
@param defaultValue Default value if the code throws an exception.
@param <T>          The return value type.
@return The output of the executed code or the default value in case of an exception.
core/src/main/java/org/jdbi/v3/core/internal/exceptions/ThrowableSuppressor.java