function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
admintrmpadmintrmp 

InstallHandler - How to fail on purpose

I would like to be able to fail the installation on purpose if an organization is setup in a way that may not be compatible with the application (where Salesforce cannot detect).

 

How can we fail the installation after checking the custom criteria? And if we can do this, how can we send an email regarding the issue at hand.