HomePhabricator

add ResultToViolationTranslator (basic + CheckResult)

Description

add ResultToViolationTranslator (basic + CheckResult)

also save violations from constraint check in table; therefore slighlty
modified violation and violationStore with comments how to undo the
changes
+ add constants for status + error handling in translator
tests to come

Change-Id: I4bf76f2403f0691fb6c89013b0a4cd22cc8fb471