private void PlayerDataErrorHandler(SpilErrorMessage errorMessage)
    {
        txtErrorMessage.text = errorMessage.name + ": " + errorMessage.message;
        pnlErrorMessage.SetActive(true);

        updateUI();
        updateUIShop();
    }
 public void SplashScreenErrorHandler(SpilErrorMessage message)
 {
     txtWebStatus2.text += "\nSplashscreen error: " + message;
 }
 private void SpilGameDataErrorHandler(SpilErrorMessage errorMessage)
 {
     // This shouldn't happen in a live environment and should hopefully only be used for debugging.
     // Can also be used to provide a fallback and/or present a message to the user and update the UI
     // should the game data be corrupted or unavailable for some reason.
 }
 public void DailyBonusErrorHandler(SpilErrorMessage message)
 {
     txtWebStatus2.text += "\nDailybonus error: " + message;
 }
 private void PlayerDataErrorHandler(SpilErrorMessage errorMessage)
 {
     // Check the errorMessage and inform the player for instance if there was not enough money to purchase an item.
 }