errorMessage

fun errorMessage(path: String, message: String, details: String? = null): ComponentValidationMessage

Creates ComponentValidationMessage with Severity.Error.

Parameters

path

location of the validated field in model

message

contains the message

details

optional details for extending the message


fun <T> Inspector<T>.errorMessage(message: String, details: String? = null): ComponentValidationMessage

Creates ComponentValidationMessage with Severity.Error.

Parameters

message

contains the message

details

optional details for extending the message