Throw error when 'else' for 'if' cannot be found.