protected function setExceptionDetails(string $reason, int $code, array $stack = [])
    {
        $this->setErrorDetails($reason, $code);

        $this->setDebugDetails($stack);
    }
protected function setExceptionDetails(string $reason, int $code, array $stack = [])
    {
        $this->setErrorDetails($reason, $code);

        $this->setDebugDetails($stack);
    }
protected function setExceptionDetails ( string $ reason , int $ code , array $ stack = [ ] ) { $ this -> setErrorDetails ( $ reason , $ code ) ; $ this -> setDebugDetails ( $ stack ) ; }
Set the exception details, building its error and debug entry.

@param string $reason
@param int    $code
@param array  $stack
Set the exception details building its error and debug entry .