Renamed error level ==> error type