VuFind API Documentation

CatchIlsExceptionsTrait

VuFind Action Feature Trait - Catch ILS exceptions from actions with an OnDispatch handler

Tags
category

VuFind

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Main Page

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

Tags
throws
DomainException
Return values
mixed

Search results