CatchIlsExceptionsTrait
VuFind Action Feature Trait - Catch ILS exceptions from actions with an OnDispatch handler
Tags
Table of Contents
- $ilsExceptionResponse : mixed
- Optional custom exception response
- onDispatch() : mixed
- Execute the request
Properties
$ilsExceptionResponse
Optional custom exception response
protected
mixed
$ilsExceptionResponse
= null
If set, this is returned on exception instead of a default ViewModel
Methods
onDispatch()
Execute the request
public
onDispatch(MvcEvent $event) : mixed
Parameters
- $event : MvcEvent
-
Event