Class it:

/**
 * Same as it::error(), plus exit (unless okstate given and true)
 * @see error()
 */
static function fatal($p)
{
    it::error(['fatal' => true, 'backtraceskip' => 1] + (array)$p);
}