Creates an instance of the class with the text and message type that occurred during validation.
Optionaldetails?: stringAdditional information about the message, such as the full text of the exception,
or '' if there is no additional information.
OptionalfieldName?: stringThe name of the field of the object to which the validation message refers,
or '' if the field is unknown.
The key of the message that occurred during validation.
The text of the message that occurred during validation.
OptionalobjectName?: stringThe name of the object to which the validation message refers,
or '' if the name is unknown.
OptionalobjectType?: stringThe type of the object to which the validation message refers,
or '' if the type is unknown.
The type of message that occurred during validation.
ReadonlydetailsAdditional information about the message, such as the full text of the exception,
or '' if there is no additional information.
ReadonlyfieldThe name of the field of the object to which the validation message refers, or '' if the field is unknown.
ReadonlykeyThe key of the message that occurred during validation.
ReadonlymessageThe text of the message that occurred during validation.
ReadonlyobjectThe name of the object to which the validation message refers, or '' if the name is unknown.
ReadonlyobjectThe type of the object to which the validation message refers, or '' if the type is unknown.
ReadonlytypeThe type of message that occurred during validation.
Returns a text representation for the validation message with the specified output mode.
Text output mode as a result of validation.
The text representation for the validation message.
Additional info.
Validation message.