account = $this->createAccountCommand->execute($payload->data); return $next($payload); } catch (Exception $exception) { throw new LogicException('Error Storing Account: '.$exception->getMessage()); } } }