Ejemplo n.º 1
0
 /**
  * Sets self::$isError to true, and adds the given error message $msg to
  * the error dump if debug mode is enabled.
  * @param string $msg The error message.
  */
 public static function raiseError($msg)
 {
     self::$isError = true;
     self::$errordump .= "An unexpected error occured" . (self::$debug ? ": " . self::makePrintable($msg) : ". That's all we know.") . "\n";
     //die();
 }