Skip to content

Commit

Permalink
Added unknown code 4198 for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasArdal committed Nov 1, 2024
1 parent ff1f7b6 commit 52ba993
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ internal override Code Resolve(bool failure, int code)
744 => new Code(code, "CTL_E_SEARCHTEXTNOTFOUND"),
746 => new Code(code, "CTL_E_REPLACEMENTSTOOLONG"),
1004 => Unknown(code), // Typically a COM exception when dealing with Excel. It's not documented anywhere so return Unknown.
4198 => Unknown(code), // Typically a COM exception when dealing with Word. It's not documented anywhere so return Unknown.
50290 => new Code(code, "VBA_E_IGNORE", "This error is specific to interactions with Visual Basic for Applications (VBA) and typically indicates that the error is being ignored by the system or the automation process."), // https://learn.microsoft.com/en-us/archive/msdn-technet-forums/9168f9f2-e5bc-4535-8d7d-4e374ab8ff09
_ => Unknown(code),
};
Expand Down

0 comments on commit 52ba993

Please sign in to comment.