src/Incoming/Hydrator/Exception/UnresolvableBuilderException.php
public static function forType(
        string $type,
        int $code = self::CODE_FOR_TYPE,
        Throwable $previous = null
    ): self {
        $message = self::DEFAULT_MESSAGE . sprintf(self::MESSAGE_EXTENSION_FOR_TYPE, $type);

        return new static($message, $code, $previous);
    }
public static function forType(
        string $type,
        int $code = self::CODE_FOR_TYPE,
        Throwable $previous = null
    ): self {
        $message = self::DEFAULT_MESSAGE . sprintf(self::MESSAGE_EXTENSION_FOR_TYPE, $type);

        return new static($message, $code, $previous);
    }
public static function forType ( string $ type , int $ code = self :: CODE_FOR_TYPE , Throwable $ previous = null ) : self { $ message = self :: DEFAULT_MESSAGE . sprintf ( self :: MESSAGE_EXTENSION_FOR_TYPE , $ type ) ; return new static ( $ message , $ code , $ previous ) ; }
Create an exception instance for a problem resolving a builder for a
given type.

@param string $type The type to build.
@param int $code The exception code.
@param Throwable|null $previous A previous exception used for chaining.
@return static The newly created exception.
Create an exception instance for a problem resolving a builder for a given type .