protected function error($target, $msg)
    {
        if ($target !== false) {
            $prefix = ucfirst($target) . ' in ' . $this->getFormattedContext();
        } else {
            $prefix = ucfirst($this->getFormattedContext());
        }
        throw new HTMLPurifier_ConfigSchema_Exception(trim($prefix . ' ' . $msg));
    }
protected function error($target, $msg)
    {
        if ($target !== false) {
            $prefix = ucfirst($target) . ' in ' . $this->getFormattedContext();
        } else {
            $prefix = ucfirst($this->getFormattedContext());
        }
        throw new HTMLPurifier_ConfigSchema_Exception(trim($prefix . ' ' . $msg));
    }
protected function error ( $ target , $ msg ) { if ( $ target !== false ) { $ prefix = ucfirst ( $ target ) . ' in ' . $ this -> getFormattedContext ( ) ; } else { $ prefix = ucfirst ( $ this -> getFormattedContext ( ) ) ; } throw new HTMLPurifier_ConfigSchema_Exception ( trim ( $ prefix . ' ' . $ msg ) ) ; }
Emits an error, providing helpful context.
@throws HTMLPurifier_ConfigSchema_Exception
Emits an error providing helpful context .