for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Tgallice\Wit\Exception;
use Tgallice\Wit\Model\Context;
class ConversationException extends \RuntimeException
{
/**
* @var string
*/
private $sessionId;
* @var Context
private $context;
* @var array
private $step;
* @param string $sessionId
* @param string $message
* @param Context $context
* @param array $step
public function __construct($sessionId, $message, Context $context, array $step = [])
parent::__construct($message);
$this->sessionId = $sessionId;
$this->context = $context;
$this->step = $step;
}
* @return string
public function getSessionId()
return $this->sessionId;
* @return Context
public function getContext()
return $this->context;
* @return array
public function getStep()
return $this->step;