original_string: 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));
      }
code: 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));
      }
code_tokens: 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 ) ) ; }
docstring: Emits an error, providing helpful context.
  @throws HTMLPurifier_ConfigSchema_Exception
docstring_tokens: Emits an error providing helpful context .