You are here

public static function PHPExcel_Exception::errorHandlerCallback in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Exception.php \PHPExcel_Exception::errorHandlerCallback()

Error handler callback

Parameters

mixed $code:

mixed $string:

mixed $file:

mixed $line:

mixed $context:

4 methods override PHPExcel_Exception::errorHandlerCallback()
PHPExcel_Calculation_Exception::errorHandlerCallback in vendor/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Exception.php
* Error handler callback * *
PHPExcel_Chart_Exception::errorHandlerCallback in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Exception.php
* Error handler callback * *
PHPExcel_Reader_Exception::errorHandlerCallback in vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Exception.php
* Error handler callback * *
PHPExcel_Writer_Exception::errorHandlerCallback in vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Exception.php
* Error handler callback * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Exception.php, line 46

Class

PHPExcel_Exception
PHPExcel_Exception

Code

public static function errorHandlerCallback($code, $string, $file, $line, $context) {
  $e = new self($string, $code);
  $e->line = $line;
  $e->file = $file;
  throw $e;
}