add UpsertViewWidget resolver (#20053)

This commit is contained in:
Abdul Rahman
2026-04-29 15:11:02 +05:30
committed by GitHub
parent b92617d46e
commit 19ee9444ed
51 changed files with 3274 additions and 1114 deletions
@@ -59,6 +59,8 @@ export const viewGraphqlApiExceptionHandler = (error: Error, i18n: I18n) => {
throw new ForbiddenError(error.message, {
userFriendlyMessage: error.userFriendlyMessage,
});
case ViewExceptionCode.VIEW_WIDGET_NOT_FOUND:
throw new NotFoundError(error.message);
default: {
return assertUnreachable(error.code);
}