Module ion_schema::violation

source ·

Structs§

  • Represents Violation found during validation with detailed error message, error code and the constraint for which the validation failed Equivalence of Violation is not supported due to its tree structure of having children Violations. Please use macro assert_equivalent_violations!(violation1, violation2) for comparing if two violations are equal. This macro uses flattened_violations and does not depend on the order of the children Violations. For non-equivalent violations use macro assert_non_equivalent_violations!(violation1, violation2).

Enums§

  • Represents violation code that indicates the type of the violation