new ErrorDialog()
new ErrorDialog() has been marked as unstable. It might be changed in a future Kirby major or minor release without being considered a breaking change. Use with caution.
new ErrorDialog(string|null $component = 'k-error-dialog', array|null $details = null, string|null $message = null, string|null $size = 'medium', mixed ...$attrs)
Parameters
| Name | Type | Default |
|---|---|---|
| $component | stringornull |
'k-error-dialog'
|
| $details | arrayornull |
null
|
| $message | stringornull |
null
|
| $size | stringornull |
'medium'
|
| ...$attrs | mixed |
no default value |