extends |
LogicException |
|---|
Thrown by {@see \LaravelUi5\Core\Runtime\ExecutableInvoker} when an
invoked-behaviour target — a DataProvider, an ActionHandler — does not
define the conventional method the invoker was asked to call
(provide() / handle()).
This is a programming error, not a client-facing condition. The marker
interfaces ({@see \LaravelUi5\Core\Ui5\Capabilities\DataProviderInterface},
{@see \LaravelUi5\Core\Ui5\Capabilities\ActionHandlerInterface}) document
the method as a convention — a PHP interface cannot type a
container-injected method (the same reason Laravel's ShouldQueue never
types handle()), so the contract is enforced here, loudly, at invoke
time instead of by the type system.
Extends {@see LogicException} so pre-existing catches keep working.
| Methods | ||
|---|---|---|
public
|
__construct(string $class, string $method)
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |