Skip to content

OutcomeUnavailable

Rasuvaeff\Understudy\Exception\OutcomeUnavailable

ClassPackage: rasuvaeff/understudySourceVersion: v0.4.1

Extends: LogicException

Implements: Throwable, Stringable, Exception\UnderstudyError

An invocation's outcome was read as the wrong kind: a returned value asked of a call that threw. null is a valid return value, so this cannot be signalled by returning null.

Methods

threwInstead()

php
static threwInstead(non-empty-string $method, Throwable $thrown): self

discardedByLean()

php
static discardedByLean(non-empty-string $method): self