static function error( $type, $message, $file, $line )
{
    $error = <<<ERROR
<pre>
<a href="corebrowser:$file:$line">$file:$line</a>
#$type $message
</pre>
ERROR;
    if ( $type !== E_NOTICE )
    {
        die( $error );
    }
}