Joli\Jane\OpenApi\Exception\ParseFailureException::__construct PHP Метод

__construct() публичный Метод

Construct the exception.
public __construct ( string $message = "", integer $code, Exception $previousJson = null, Exception $previousYaml = null )
$message string [optional] The Exception message to throw.
$code integer [optional] The Exception code.
$previousJson Exception [optional] The previous exception from the Json serialisation attempt
$previousYaml Exception [optional] The previous exception from the Yaml serialisation attempt
    public function __construct($message = "", $code = 0, Exception $previousJson = null, Exception $previousYaml = null)
    {
        parent::__construct($message, $code, $previousJson);
        $this->previousYaml = $previousYaml;
    }