code: async def startup(self):
          
          if self.frozen:
              return False
  
          if self._error_handlers:
              self.middlewares.append(_exc_middleware_factory(self))
  
          # Register static paths
          for path in self.cfg.STATIC_FOLDERS:
              self.router.register_resource(SafeStaticResource(self.cfg.STATIC_PREFIX, path))
  
          await super(Application, self).startup()
docs: Start the application.
  
          Support for start-callbacks and lock the application's configuration and plugins.