```\n  function processDeposit(GMXTypes.Store storage self) external {\n       // some code ..\n      try GMXProcessDeposit.processDeposit(self) {\n           // ..more code\n        } catch (bytes memory reason) {\n            self.status = GMXTypes.Status.Deposit_Failed;\n\n            emit DepositFailed(reason);\n        }\n    }\n```\n