Hi, I'm using the try…catch…end to catch the error. I have seen different ways of using catch at different places and got slightly confused.
One place I saw: try … catch … end
And another place I saw: try … catch err … end
And at another place I saw: try … catch ME … end
I'm wondering in what cases should I use catch, and what cases I need to use catch followed by some words or variables?
Many thanks.
Lily
Best Answer