Which error would occur if you typed a semicolon when you meant to type a colon?

(1 point)
syntax erroг
runtime error
debug error
logic error

The error that would occur if you typed a semicolon when you meant to type a colon is a syntax error.