public function __construct($msg, $code, $thread = null) { parent::__construct($msg, $code); $this->thread = $thread; }