isError

abstract val isError: Boolean

Decides if the ValidationMessage is an error which is needed to determine if validation state is successful or not.

It is intentional to explicitly define a message as an error to realize scenarios, where also pure information or warning messages could arise, that should not stop the process.

If an application considers every message as error, just set this to true.