# How to read and fix latex errors?

So if I get an error of the form

Argument of \beamer@decodegobble has an extra }.

<inserted text>
\par
l.309 \end{frame}
I've run across a }' that doesn't seem to match anything.
For example, \def\a#1{...}' and \a}' would produce
this error. If you simply proceed now, the \par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your }' was spurious, just type 2' and it will go away.?


or

Runaway argument?

! Paragraph ended before \beamer@decodegobble was complete.
I suspect you've forgotten a }', causing me to apply this
`