classifying error codes