toolisticon/kotlin-code-generation

Provide Exception Spec/Builder

Closed this issue · 0 comments

Exceptions can be modelled using a ClassBuilder that uses a superclass and forwards constructor parameters.

It could be nice to have a specialized builder for exceptions to avoid rewriting the same code over and over.