src/Property/Relationship/ProxyProductionFailed.php
public static function tryingToProduceFor(
        MapsProperty $mapping,
        Throwable $exception
    ): Throwable {
        return new self(
            sprintf(
                'Proxy production for in the `%s` property failed: %s',
                $mapping->name(),
                $exception->getMessage()
            ),
            0,
            $exception
        );
    }
public static function tryingToProduceFor(
        MapsProperty $mapping,
        Throwable $exception
    ): Throwable {
        return new self(
            sprintf(
                'Proxy production for in the `%s` property failed: %s',
                $mapping->name(),
                $exception->getMessage()
            ),
            0,
            $exception
        );
    }
public static function tryingToProduceFor ( MapsProperty $ mapping , Throwable $ exception ) : Throwable { return new self ( sprintf ( 'Proxy production for in the `%s` property failed: %s' , $ mapping -> name ( ) , $ exception -> getMessage ( ) ) , 0 , $ exception ) ; }
Notifies the client code when an item could not be hydrated.

@param MapsProperty $mapping   The proxy mapping that failed.
@param Throwable    $exception The exception that was encountered.
@return Throwable              The proxy production failure.
Notifies the client code when an item could not be hydrated .