@Override
    public void onError(Throwable throwable) {
        // Sink any errors
        try {
            close();
        } catch (IOException ignored) {}
    }
Set this callback to use the specified consumer for the given output type.
The same consumer can be configured for more than one output type.
@param outputType the output type to configure
@param consumer the consumer to use for that output type
core/src/main/java/org/testcontainers/containers/output/FrameConsumerResultCallback.java