992. Class

992.1. Zend\Mvc\View\Http\ExceptionStrategy

992.1.1. Methods

992.1.1.1. attach

attach()

Attach the aggregate to the specified event manager

Parameters:EventManagerInterface
Return type:void

992.1.1.2. detach

detach()

Detach aggregate listeners from the specified event manager

Parameters:EventManagerInterface
Return type:void

992.1.1.3. setDisplayExceptions

setDisplayExceptions()

Flag: display exceptions in error pages?

Parameters:bool
Return type:ExceptionStrategy

992.1.1.4. displayExceptions

displayExceptions()

Should we display exceptions in error pages?

Return type:bool

992.1.1.5. setExceptionTemplate

setExceptionTemplate()

Set the exception template

Parameters:string
Return type:ExceptionStrategy

992.1.1.6. getExceptionTemplate

getExceptionTemplate()

Retrieve the exception template

Return type:string

992.1.1.7. prepareExceptionViewModel

prepareExceptionViewModel()

Create an exception view model, and set the HTTP status code

Parameters:MvcEvent
Return type:void