extends |
Ui5Exception |
|---|
Thrown when the request supplies a value for a slot that is not of the slot's
declared type — ?date=kaputt for a Date slot.
A 422: the caller sent it, and the caller can fix it. The value is refused rather than skipped, because falling through to the next source would answer a broken URL with the default and hide the mistake. A value that a server-side source fills with the wrong type is a different fault with a different exception ({@see InvalidSlotSourceValueException}).
| Methods | ||
|---|---|---|
public
|
__construct(string $slot, ParameterType $type, string $expected, mixed $value)
|
# |
| Properties | |||
|---|---|---|---|
public
readonly
|
string
|
$slot
|
# |
public
readonly
|
ParameterType
|
$type
|
# |