A Validation.ValidationException object defines __str__,
so for the previous example, str(error)
says::
Validation for key OBJECT_WIDE_VALIDATION failed: - Validation of object as a whole failed - Custom validation of object as a whole failed Validation for key name failed: - Custom validation of key failed