Creates an instance of the class with the text and message type that occurred during validation.
Optional
details?: stringAdditional information about the message, such as the full text of the exception,
or ''
if there is no additional information.
Optional
fieldThe 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.
Optional
objectThe name of the object to which the validation message refers,
or ''
if the name is unknown.
Optional
objectThe type of the object to which the validation message refers,
or ''
if the type is unknown.
The type of message that occurred during validation.
Readonly
detailsAdditional information about the message, such as the full text of the exception,
or ''
if there is no additional information.
Readonly
fieldThe name of the field of the object to which the validation message refers, or ''
if the field is unknown.
Readonly
keyThe key of the message that occurred during validation.
Readonly
messageThe text of the message that occurred during validation.
Readonly
objectThe name of the object to which the validation message refers, or ''
if the name is unknown.
Readonly
objectThe type of the object to which the validation message refers, or ''
if the type is unknown.
Readonly
typeThe type of message that occurred during validation.
Returns a text representation for the validation message with the specified output mode.
The text representation for the validation message.
Text output mode as a result of validation.
Generated using TypeDoc
Validation message.