As of what I know, they should all be considered as errors simply so yes, it should work on any literal error. Warning message or a note is different but error should be detected.
As of what I know, they should all be considered as errors simply so yes, it should work on any literal error. Warning message or a note is different but error should be detected.