src/Traits/MicroServiceExceptionHandlerTrait.php
public function isMicroServiceException(Exception $e)
    {
        foreach ($this->microServicesExceptionTypes as $exceptionType) {
            if ($e instanceof $exceptionType) {
                return true;
            }
        }

        return false;
    }
public function isMicroServiceException(Exception $e)
    {
        foreach ($this->microServicesExceptionTypes as $exceptionType) {
            if ($e instanceof $exceptionType) {
                return true;
            }
        }

        return false;
    }
public function isMicroServiceException ( Exception $ e ) { foreach ( $ this -> microServicesExceptionTypes as $ exceptionType ) { if ( $ e instanceof $ exceptionType ) { return true ; } } return false ; }
Check if the supplied exception is of any of the types we handle.

@param Exception $e
@return bool
Check if the supplied exception is of any of the types we handle .