Please tell me
If you are looking for a construct such as try-catch found in other languages, it does not exist in App Inventor. Errors that are raised by components and blocks are dispatched via the Screen's ErrorOccurred event.
See the last two links
thank you