UnhandledFitException
extends Exception
in package
An UnhandledFitException is thrown when the subject passed to the fit() function is not a fit for any callback argument.
Table of Contents
Properties
- $callbacks : array<string|int, mixed>
- $subject : mixed
Methods
- __construct() : mixed
Properties
$callbacks read-only
public
array<string|int, mixed>
$callbacks
$subject read-only
public
mixed
$subject
Methods
__construct()
public
__construct(mixed $subject, array<string|int, callable(mixed $arg, mixed ...$args): mixed> $callbacks) : mixed
Parameters
- $subject : mixed
-
Subject that was deemed unfit.
- $callbacks : array<string|int, callable(mixed $arg, mixed ...$args): mixed>
-
List of callbacks against which the subject was gauged.