Skip to content

UnderstudyError ​

Rasuvaeff\Understudy\Exception\UnderstudyError

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

Implements: Throwable, Stringable

Implemented by: Exception\AmbiguousDefaultFactory, Exception\BypassUnavailable, Exception\CannotWire, Exception\ConflictingExpectation, Exception\ContextOwnershipViolation, Exception\ForgottenDouble, Exception\ForwardingTargetMismatch, Exception\InvalidCallSpecification, Exception\InvalidDefaultValue, Exception\InvalidSpecificationArgument, Exception\MatcherLeaked, Exception\NeverMethodCalled, Exception\NoDefaultValue, Exception\NothingCaptured, Exception\OriginalCallUnavailable, Exception\OriginalReturnTypeViolation, Exception\OutcomeUnavailable, Exception\StrictModeViolation, Exception\UnsupportedTarget, Exception\VerificationFailed

Implemented by every exception this library throws, so a test can catch misuse of Understudy itself without catching the errors it reports about the code under test.

No public members beyond what is documented above.