/** * If debug is disable and an exception occurres, this message will be * displayed. * * @param string $message */ public static function setDebugMessage($message) { self::$debugMessage = (string) $message; }