Added systematic error messages for trie.c.