'Notice', E_WARNING => 'Warning', E_ERROR => 'Error', E_PARSE => 'Fatal error', ); parent::__construct( sprintf( "Visitor error: %s: '%s' in line %d at position %d.", $levelMapping[$level], $message, $line, $position ) ); } } ?>