src/Publisher/Exception/InvalidFieldException.php
public static function from(UserException $e, $field, $value, $type=null, $args=array()) {
		return new static($e->getMessage(), $field, $value, $type, $e->getDomain(), $args);
	}
public static function from(UserException $e, $field, $value, $type=null, $args=array()) {
		return new static($e->getMessage(), $field, $value, $type, $e->getDomain(), $args);
	}
public static function from ( UserException $ e , $ field , $ value , $ type = null , $ args = array ( ) ) { return new static ( $ e -> getMessage ( ) , $ field , $ value , $ type , $ e -> getDomain ( ) , $ args ) ; }
Convert an UserException into an InvalidFieldException using other parameters

@param UserException $e
@param string $field
@param string $value
@param string $type
@param array $args
@return InvalidFieldException
Convert an UserException into an InvalidFieldException using other parameters