How to break, exit, abort, fail, raise or whatever in a Script

Uh… I’m not sure. Basically a plugin in the ‘plugins’ folder that gets called via a menu item or toolbar button in SU.

Here is a post that includes the full Module I’m working on. As you can see, using return nil at the moment but still not preventing subsequent code in the def from being executed.