Skip to content

OriginalCallUnavailable ​

Rasuvaeff\Understudy\Exception\OriginalCallUnavailable

Class — Package: rasuvaeff/understudy — Source — Version: v1.1.0-1-g6ed023f

Extends: LogicException

Implements: Throwable, Stringable, Exception\UnderstudyError

callOriginal() was asked to delegate, and there is nothing to delegate to.

Methods ​

forMode() ​

php
static forMode(non-empty-string $label): self

Builds the error for forwarding without a real instance.

withoutTarget() ​

php
static withoutTarget(non-empty-string $label, non-empty-string $method): self

Builds the error for delegating a call without a target.