(error: any)
| 1131 | |
| 1132 | const getEditErrorText = (error: any): string => { |
| 1133 | const parts = [ |
| 1134 | typeof error?.errorMessage === "string" ? error.errorMessage : "", |
| 1135 | typeof error?.message === "string" ? error.message : "", |
| 1136 | ].filter(Boolean); |
| 1137 | return parts.join(" "); |
| 1138 | }; |
| 1139 | |
| 1140 | const isMessageNotModifiedError = (error: any): boolean => |
| 1141 | getEditErrorText(error).includes("MESSAGE_NOT_MODIFIED"); |
| 1142 |
no outgoing calls
no test coverage detected