Skip to content

Commit

Permalink
changed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nlsui committed Jun 25, 2021
1 parent a06f008 commit 266f66a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keywords/card.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (c Card) ValidateClasses(cb jsonschema.ClassBound) error {
if i.(cardobject.ClassProvider).ClassRestriction().Contains(cb.Classes()) {
return nil
}
return errors.New("Class Validation failed!")
return errors.New("Classes are not covered by the cards classes")
}

//ValidateType Ensures that the type "Card" is build correctly in the context of the RootElement
Expand Down

0 comments on commit 266f66a

Please sign in to comment.