public function handle($e)
    {
        if (!($e instanceof ShopgateLibraryException)) {
            return;
        }

        $this->logging->log(
            'FATAL: Uncaught ShopgateLibraryException',
            Shopgate_Helper_Logging_Strategy_LoggingInterface::LOGTYPE_ERROR,
            $this->stackTraceGenerator->generate($e)
        );
    }
public function handle($e)
    {
        if (!($e instanceof ShopgateLibraryException)) {
            return;
        }

        $this->logging->log(
            'FATAL: Uncaught ShopgateLibraryException',
            Shopgate_Helper_Logging_Strategy_LoggingInterface::LOGTYPE_ERROR,
            $this->stackTraceGenerator->generate($e)
        );
    }
public function handle ( $ e ) { if ( ! ( $ e instanceof ShopgateLibraryException ) ) { return ; } $ this -> logging -> log ( 'FATAL: Uncaught ShopgateLibraryException' , Shopgate_Helper_Logging_Strategy_LoggingInterface :: LOGTYPE_ERROR , $ this -> stackTraceGenerator -> generate ( $ e ) ) ; }
Handles uncaught exceptions of type ShopgateLibraryException.

This handler will take any Exception or Throwable but will only act upon receiving a ShopgateLibraryException.
In that case it will log a stack trace to the error log. In all other cases it will return without doing
anything.

@param Throwable|Exception $e Will accept Throwable for PHP 7 or Exception for PHP < 7.

@see http://php.net/manual/en/function.set-exception-handler.php
Handles uncaught exceptions of type ShopgateLibraryException .