add IUserFriendlyError adapter for violation of check constraints
This way we get back the same error messages we get from the python
check.
Related to #5154406
sync_schema_props_perms('state_of')
sync_schema_props_perms('transition_of')
sync_schema_props_perms('State')
sync_schema_props_perms('BaseTransition')
sync_schema_props_perms('Transition')
sync_schema_props_perms('WorkflowTransition')