Formulas/Exceptions/FormulasException.php
public static function withType( $error, $formulaType, $message )
	{
		$ex = new FormulasException( $message );
		$ex->formulaType = $formulaType;
		$ex->error = $error;

		return $ex;
	}
public static function withType( $error, $formulaType, $message )
	{
		$ex = new FormulasException( $message );
		$ex->formulaType = $formulaType;
		$ex->error = $error;

		return $ex;
	}
public static function withType ( $ error , $ formulaType , $ message ) { $ ex = new FormulasException ( $ message ) ; $ ex -> formulaType = $ formulaType ; $ ex -> error = $ error ; return $ ex ; }
Create an exception type with a formula type
@param string QName of the error code being reported
@param string $formulaType
@param string $message
@return \XBRL\Formulas\Resources\FormulasException
Create an exception type with a formula type