genError

fun genError(message: String, element: DomainElement? = null): Nothing