Presents the given string (or the message or the description property of the given object) to the user using the calli:error-alert template of the layout.


try {
    throw "error message";
} catch (e) {
    calli.error(e);
}