SetErrorHandler() public method

public SetErrorHandler ( IErrorHandler errorHandler ) : void
errorHandler IErrorHandler
return void
 void OnEnable() {
     _gameController = GetComponent<GameController>();
     SessionData session = GameObject.Find("Lobby Settings").GetComponent<SessionData>();
     ServerComs = session.ServerCom;
     Guid = session.Guid;
     CornerId = session.OwnId;
     ServerComs.SetGuid(Guid);
     ServerComs.SetErrorHandler(this);
     ServerComs.SetProcessor(new DataProcessor(this, this, null));
 }