TemplateInterruptException Apex Example

Use the TemplateInterruptException class to handle template runtime errors cleanly and provide clear information to template users.

Throwing an exception fails the app creation process.