Allow custom messages for all CustomFunctions.ErrorCode codes

Allow custom messages for all CustomFunctions.ErrorCode codes
0

Upvotes

Upvote

 Oct 10 2022
0 Comments 
New

Currently, only `invalidValue` and `notAvailable` allow custom messages (see: CustomFunctions.Error ignores custom error message for some error codes · Issue #2885 · OfficeDev/office-js (github.com)). It doesn't make any sense to ignore the error provided by the developer for the other codes. Please enable custom messages for all error codes.