It is unnecessary for all tokens to store this. Instead just make a few error kinds and have a lookup table for their meaning.