You are here

function error_handler in Coder 7

Same name and namespace in other branches
  1. 7.2 coder_upgrade/scripts/coder_upgrade.run.php \error_handler()
1 string reference to 'error_handler'
coder_upgrade.run.php in coder_upgrade/scripts/coder_upgrade.run.php

File

coder_upgrade/scripts/coder_upgrade.run.php, line 213

Code

function error_handler($code, $message, $file, $line) {
  if (0 == error_reporting()) {
    return;
  }
  throw new ErrorException($message, 0, $code, $file, $line);
}