Error handling
Works at beginning of token