@Override
        public String getMessage() {
            return this.commandContext.formatCaption(
                    this.failureCaption,
                    CaptionVariable.of(
                            "input",
                            this.failedString
                    ),
                    CaptionVariable.of(
                            "pattern",
                            this.pattern
                    )
            );
        }
Exception thrown when input fails regex matching in {@link RegexPreprocessor}
cloud-core/src/main/java/org/incendo/cloud/component/preprocessor/RegexPreprocessor.java