frontend_error

Triggered when exceptions are thrown in frontend.

Shop-Script

Input (passed by reference)

$e waException Instance of exception handling class.
… your plugin code …

Output

Shop-Script

Plugin code example

PHP

public function frontendError($e)
{
    waLog::log($e->getTraceAsString(), 'shop/myplugin/frontend-error.log');
}