Nexus API Reference

InvalidPropsFactoryException extends NexusLogicException
in package

FinalYes
Tags
psalm-api

Thrown when a Props factory violates its contract: the callable given to Props::fromFactory()/fromStatefulFactory(), or the container behind Props::fromContainer(), produced something other than the required handler interface. Raised at actor start, independent of the zend.assertions setting, and surfaced to the spawner wrapped in ActorInitializationException.

Table of Contents

Methods

__construct()  : mixed

Methods

__construct()

public __construct(string $source, string $expectedInterface, mixed $actual) : mixed
Parameters
$source : string
$expectedInterface : string
$actual : mixed
On this page

Search results