Skip to content

Kirby 4.5.0

new InvalidArgumentException()

Class constructor

new InvalidArgumentException(array|string $args = [ ])

Parameters

Name Type Default Description
$args array|string [ ] Full option array ('key', 'translate', 'fallback',
'data', 'httpCode', 'details' and 'previous') or
just the message string

Parent class

Kirby\Exception\InvalidArgumentException inherited from Kirby\Exception\Exception