Skip to content

new Exception()

Class constructor

new Exception(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\Exception