My Vala backend looks working fine now. I didn’t do all tests, but I can show you how it is working for some kind of errors.
If you forget to declare type (it is simple, but very common for Python/Ruby programmers, for example):
Or you forget to close a brace:
Or a parenthesis: