SimpleViolation Data Type

An object that describes violations in constraints.

Subtypes
TravelPolicyViolation
Properties
name data type description
propertyName string The property name.
failureMessage string The message for the failure that should be displayed for the user.
stackTrace string

Example

{
  "propertyName" : "...",
  "failureMessage" : "...",
  "stackTrace" : "..."
}