public OwaExtendedErrorCodeException(OwaExtendedErrorCode extendedErrorCode, string message, string user, FaultCode faultCode) : this(extendedErrorCode, message, user, faultCode, null)
 {
 }
        // Token: 0x06000118 RID: 280 RVA: 0x000083A0 File Offset: 0x000065A0
        public static void SendError(NameValueCollection headerCollection, Action <HttpStatusCode> responseCodeSetter, OwaExtendedErrorCode code, string message = "", string user = "", string extra = "")
        {
            string name = "X-OWA-ExtendedErrorCode";
            int    num  = (int)code;

            headerCollection.Set(name, num.ToString());
            headerCollection.Set("X-OWA-ExtendedErrorMessage", message ?? string.Empty);
            headerCollection.Set("X-OWA-ExtendedErrorUser", user ?? string.Empty);
            headerCollection.Set("X-OWA-ExtendedErrorData", extra ?? string.Empty);
            responseCodeSetter(HttpStatusCode.PreconditionFailed);
        }
 public OwaExtendedErrorCodeException(OwaExtendedErrorCode extendedErrorCode, string message, string user, FaultCode faultCode, string errorData) : base(message, faultCode)
 {
     this.extendedErrorCode = extendedErrorCode;
     this.user      = user;
     this.errorData = errorData;
 }