<?php
namespace Engine\GenDocument\TextProcessor\Exception; class InvalidFunction extends \Exception { public $functionName = ''; public $functionParams = []; public $functionIndex = -1; public function __construct ($message, $functionName, $functionParams, $functionIndex) { $this->functionName = $functionName; $this->functionParams = $functionParams; $this->functionIndex = $functionIndex; parent::__construct($message); } } 