Solar_Controller_Page::_exceptionDuringFetch()

protected string Solar_Controller_Page::_exceptionDuringFetch ( Exception $e )

When an exception is thrown during the fetch() process, use this method to recover from it.

Parameters

  • (Exception) $e: The exception thrown during the fetch() process.

Returns

  • (string) The alternative output from the rescued exception.

Description

When an exception is thrown during the fetch() process, use this method to recover from it.

This default implementation just displays the exception, but extended classes may override the behavior to return alternative output from the failed fetch().



Local