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(waException $exception)
{
    waLog::log($exception->getTraceAsString(), 'shop/plugins/' . $this->id . '/frontend-error.log');
}