public ApiStatus ToApiStatus()
        {
            ApiStatus result = new ApiStatus();

            ApiStatus.Update(result, this.errorCode, this.messageBuilder.ToString());
            return(result);
        }
Example #2
0
        internal int UpdateApiStatus(ApiStatus status)
        {
            string message = this.Message;

            WriteInnerExceptionOnDebug(ref message, this);

            ApiStatus.Update(status, this.ErrorCode, this.Message);
            return(this.ErrorCode);
        }
 public int UpdateApiStatus(ApiStatus target)
 {
     ApiStatus.Update(target, this.errorCode, this.messageBuilder.ToString());
     return(this.errorCode);
 }