Class ValueNotInList
An exception raised when a function meets an argument of an unsupported type.
- Exception implements Throwable
-
Punic\Exception
-
Punic\Exception\ValueNotInList
Methods summary
public
|
#
__construct( string|numeric $value, array<string|numeric> $allowedValues, Exception $previous = null )
Initializes the instance. |
public
mixed
|
|
public
array<string|numeric>
|
Methods inherited from Exception
__toString(),
__wakeup(),
getCode(),
getFile(),
getLine(),
getMessage(),
getPrevious(),
getTrace(),
getTraceAsString()