At a recent interview I was asked the question \"Is CSS giving error?\" by the interviewer.
Is there an interpreter working behind CSS which blocks
No, "CSS does not give error," but I think that the interviewer may have been mis-stating the question.
If the interviewer was not mis-stating the question, then we can definitively say that no, CSS does not give errors. There is no evaluator or compiler in the CSS spec that scans your cascade looking for errors. It could even be argued that browsers do not have error handling for CSS, as all commonly used browsers actually discard erroneously written declarations and then search for the nearest semi-colon, and then go back to the reading cascade.
Tab Atkins Jr has a good explanation of how browsers handle errors in CSS and why they handle them that way.
If the browser is in trying to parse a declaration and it encounters something it doesn't understand, it throws away the declaration, then seeks forward until it finds a semicolon that's not inside of a {}, [], or () block.
So if the interviewer was trying to play gotcha with this question, I think you could confidently answer that no, CSS is not giving error. But, there's a decent chance that the interviewer may not really understand CSS or how browsers interpret CSS and wants you to find the errors in a block of CSS. Never be shy to ask an interviewer what they might mean when they ask a question, or if it doesn't sound clear to you.