void DisplayError(RestResponseErrorException e)
        {
            // verifies common status code errors
            switch (e.StatusCode)
            {
            // This is using the same message for all errors. You can cusotmize the text of the message.
            case System.Net.HttpStatusCode.RequestTimeout:
                MainPageImpl.ShowMessage(GlClubResource.String.CommonError);
                break;

            case System.Net.HttpStatusCode.NotFound:
                MainPageImpl.ShowMessage(GlClubResource.String.CommonError);
                break;

            case System.Net.HttpStatusCode.InternalServerError:
                MainPageImpl.ShowMessage(GlClubResource.String.CommonError);
                break;

            default:
                MainPageImpl.ShowMessage(GlClubResource.String.CommonError);
                break;
            }
        }