public static function renderError()
    {
        try
        {
            $_errorTemplate = \Kisma::get( 'app.error_template', '_error.twig' );

            Render::twigView(
                $_errorTemplate,
                array(
                    'base_path'         => \Kisma::get( 'app.base_path' ),
                    'app_root'          => \Kisma::get( 'app.root' ),
                    'page_title'        => 'Error',
                    'error'             => static::$_error,
                    'page_header'       => 'Something has gone awry...',
                    'page_header_small' => 'Not cool. :(',
                    'navbar'            => array(
                        'brand' => 'Kisma v' . \Kisma::KismaVersion,
                        'items' => array(
                            array(
                                'title'  => 'Kisma on GitHub!',
                                'href'   => 'http://github.com/kisma/kisma/',
                                'target' => '_blank',
                                'active' => 'active',
                            ),
                        ),
                    ),
                )
            );

            return true;
        }
        catch ( \Exception $_ex )
        {
            Log::error( 'Exception during rendering of error: ' . print_r( static::$_error, true ) );
        }

        return false;
    }
public static function renderError()
    {
        try
        {
            $_errorTemplate = \Kisma::get( 'app.error_template', '_error.twig' );

            Render::twigView(
                $_errorTemplate,
                array(
                    'base_path'         => \Kisma::get( 'app.base_path' ),
                    'app_root'          => \Kisma::get( 'app.root' ),
                    'page_title'        => 'Error',
                    'error'             => static::$_error,
                    'page_header'       => 'Something has gone awry...',
                    'page_header_small' => 'Not cool. :(',
                    'navbar'            => array(
                        'brand' => 'Kisma v' . \Kisma::KismaVersion,
                        'items' => array(
                            array(
                                'title'  => 'Kisma on GitHub!',
                                'href'   => 'http://github.com/kisma/kisma/',
                                'target' => '_blank',
                                'active' => 'active',
                            ),
                        ),
                    ),
                )
            );

            return true;
        }
        catch ( \Exception $_ex )
        {
            Log::error( 'Exception during rendering of error: ' . print_r( static::$_error, true ) );
        }

        return false;
    }
public static function renderError ( ) { try { $ _errorTemplate = \ Kisma :: get ( 'app.error_template' , '_error.twig' ) ; Render :: twigView ( $ _errorTemplate , array ( 'base_path' => \ Kisma :: get ( 'app.base_path' ) , 'app_root' => \ Kisma :: get ( 'app.root' ) , 'page_title' => 'Error' , 'error' => static :: $ _error , 'page_header' => 'Something has gone awry...' , 'page_header_small' => 'Not cool. :(' , 'navbar' => array ( 'brand' => 'Kisma v' . \ Kisma :: KismaVersion , 'items' => array ( array ( 'title' => 'Kisma on GitHub!' , 'href' => 'http://github.com/kisma/kisma/' , 'target' => '_blank' , 'active' => 'active' , ) , ) , ) , ) ) ; return true ; } catch ( \ Exception $ _ex ) { Log :: error ( 'Exception during rendering of error: ' . print_r ( static :: $ _error , true ) ) ; } return false ; }
Renders an error

@return bool
Renders an error