Lumail - The console email client

Lua primitives: abort()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

This function will immediately exit the lumail client, printing a diagnostic message to the console.

This function differs from exit() because it will not run any on_exit() function you've defined.

This can be used to add tests to your configuration file:

prefix = os.getenv( "HOME" ) .. "/Maildir"

if ( is_directory(prefix) ) then
   abort( "The specified Maildir prefix isn't a directory: " .. prefix );


This function has been available since version 0.08.

See Also

See also exit, on_exit.