src/Property/UnmappableProperty.php
public static function addAlternativeTypeInformation(
        string $type,
        UnmappableInput $exception
    ): UnmappableInput {
        return new self(sprintf(
            '%s It could not be mapped to %s either.',
            $exception->getMessage(),
            $type
        ), 0, $exception);
    }
public static function addAlternativeTypeInformation(
        string $type,
        UnmappableInput $exception
    ): UnmappableInput {
        return new self(sprintf(
            '%s It could not be mapped to %s either.',
            $exception->getMessage(),
            $type
        ), 0, $exception);
    }
public static function addAlternativeTypeInformation ( string $ type , UnmappableInput $ exception ) : UnmappableInput { return new self ( sprintf ( '%s It could not be mapped to %s either.' , $ exception -> getMessage ( ) , $ type ) , 0 , $ exception ) ; }
Add the alternative type information to the original exception.

@param string          $type      The alternative type.
@param UnmappableInput $exception The original exception.
@return UnmappableInput           The exception to throw.
Add the alternative type information to the original exception .