Guides
Tutorials
Exception thrown when a type has not been found in the types container.
class ApiPlatform\GraphQl\Type\TypeNotFoundException extends InvalidArgumentException implements Stringable, Throwable, Psr\Container\NotFoundExceptionInterface, Psr\Container\ContainerExceptionInterface
{
public __construct(string $message, string $typeId)
public getTypeId(): string
public __wakeup()
public getMessage(): string
public getCode()
public getFile(): string
public getLine(): int
public getTrace(): array
public getPrevious(): Throwable
public getTraceAsString(): string
public __toString(): string
}
class ApiPlatform\GraphQl\Type\TypeNotFoundException extends InvalidArgumentException implements Stringable, Throwable, Psr\Container\NotFoundExceptionInterface, Psr\Container\ContainerExceptionInterface
{
public __construct(string $message, string $typeId)
public getTypeId(): string
public __wakeup()
public getMessage(): string
public getCode()
public getFile(): string
public getLine(): int
public getTrace(): array
public getPrevious(): Throwable
public getTraceAsString(): string
public __toString(): string
}
$message
$message
$code
$code
string $file
string $file
int $line
int $line
public __construct(string $message, string $typeId)
public __construct(string $message, string $typeId)
message | string | |
typeId | string |
Returns the type identifier causing this exception.
public getTypeId(): string
public getTypeId(): string
string