Detect error tags

This should help out with Issue #4 in the simplest way possible.