Automattic\WooCommerce\Vendor\GraphQL\Utils

BuildSchema::unknownTypepublic staticWC 1.0

Method of the class: BuildSchema{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = BuildSchema::unknownType( $typeName ): Error;
$typeName(string) (required)
.

BuildSchema::unknownType() code WC 10.9.1

public static function unknownType(string $typeName): Error
{
    return new Error("Unknown type: \"{$typeName}\".");
}