Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Exception.php
Go to the documentation of this file.
1 <?php
27 #require_once 'Zend/Exception.php';
28 
29 
39 {
46  static public $sessionStartError = null;
47 
56  static public function handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext)
57  {
58  self::$sessionStartError = $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr;
59  }
60 
69  static public function handleSilentWriteClose($errno, $errstr, $errfile, $errline, $errcontext)
70  {
71  self::$sessionStartError .= PHP_EOL . $errfile . '(Line:' . $errline . '): Error #' . $errno . ' ' . $errstr;
72  }
73 }
74 
static handleSessionStartError($errno, $errstr, $errfile, $errline, $errcontext)
Definition: Exception.php:56
static handleSilentWriteClose($errno, $errstr, $errfile, $errline, $errcontext)
Definition: Exception.php:69