Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TestReferenceException.php
Go to the documentation of this file.
1 <?php
8 
10 
14 class TestReferenceException extends \Exception
15 {
22  public function __construct($message, $context = [])
23  {
24  list($childClass, $callingClass) = debug_backtrace(false, 2);
25  LoggingUtil::getInstance()->getLogger($callingClass['class'])->error(
26  "Line {$callingClass['line']}: $message",
27  $context
28  );
29 
30  parent::__construct($message);
31  }
32 }
$message