better error messages surrounding delimiters