/// <summary>
 /// Called when an error has occurred with the subscription
 /// </summary>
 /// <param name="subscription">
 /// The subscription where the error has been detected.
 /// </param>
 /// <param name="status">
 /// The status code associated with the error.
 /// </param>
 /// <param name="subject">
 /// The subject for entitlement errors.
 /// </param>
 void MamaBasicSubscriptionCallback.onError(MamaBasicSubscription subscription, MamaStatus.mamaStatus status, string subject)
 {
     if (mCallback != null)
     {
         mCallback.onError((MamaSubscription)subscription, status, subject);
     }
 }
            /// <summary>
            /// This function will invoke the error callback on the user supplied callback implementation.
            /// </summary>
            /// <param name="nativeStatus">
            /// The status code for the error that has occured.
            /// </param>
            /// <param name="subject">
            /// The subject for entitlement errors.
            /// </param>
            internal override void InvokeError(int nativeStatus, string subject)
            {
                // Only invoke the callback if it is supplied
                if (null != mCallback)
                {
                    // Create a managed status value fo the native value passed in
                    MamaStatus.mamaStatus status = (MamaStatus.mamaStatus)nativeStatus;

                    // Invoke the callback
                    mCallback.onError(mSubscription, status, subject);
                }
            }