Update reporting mechanism
Add errortypes
Add test for validation error instance