You are here

public static function PHPExcel_Reader_Exception::errorHandlerCallback in Loft Data Grids 6.2

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

* Error handler callback * *

Parameters

mixed $code: * @param mixed $string * @param mixed $file * @param mixed $line * @param mixed $context

Overrides PHPExcel_Exception::errorHandlerCallback

File

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

Class

PHPExcel_Reader_Exception
PHPExcel_Reader_Exception

Code

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