debezium / debezium/dbz

Provide a helper method to enumerate all enum options in an error message [DBZ-2765]

Open
#388 0 comments 0 reactions 1 assignee Claimed by @rk3rn3r View on GitHub
component/core-library migrated-from-jira type/task
Dominant language
HTML
Stars
6
Forks
9
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-2765](https://issues.redhat.com/browse/DBZ-2765)

It might be useful as part of error messages to print supported enum options. This is done for example in https://github.com/debezium/debezium/pull/1948/files#diff-af558a6990205ba8dd4e7255eecf73331fedd29c283c27b7ea2cee11007df7baR564

It would be useful to have a helper method to which an enum would be passed and the message would be formatted.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.