API errors, alerts and utility functions.

API errors

todo: info here

Error utility functions

todo: info here

Method Description
errorEmailDeveloper($die = true) Use this function throughout your code to react upon unintentional errors. It will quietly email useful environment values to the developer defined in your initialization method and optionally die with a graceful user message.