Improved error classifier utility.