Lexical errors are those illegal string, unmatched symbols, length of the boundaries are exceeding.
syntax errors are those missing operand, missing left parenthesis, missing right parenthesis etc.
semantic errors are those type checking does not matches, scope of the functions does not found and type conversion is not happend like this.
But when comparing the three phases with each other the most errors occured in syntax phase.