Apply builder pattern design. Add builder like: - https://github.com/exasol/error-reporting-java - https://github.com/exasol/error-reporting-lua