branch = $this->createBranchCommand->execute($payload->data); return $next($payload); } catch (Exception $exception) { throw new \LogicException('Error Storing Branch: ' . $exception->getMessage()); } } }