Add new error class path to ErrorHandlingMiddleware

This commit is contained in:
grimsi
2025-07-19 13:48:01 +02:00
parent c39e79c931
commit 577f901e85
+1 -1
View File
@@ -20,7 +20,7 @@ export const ErrorHandlingMiddleware: Middleware = async function (
let json: any = await response.json();
if (json.type == "dev.hilla.exception.EndpointException") {
if (json.type == "dev.hilla.exception.EndpointException" || json.type == "com.vaadin.hilla.exception.EndpointException") {
addToast({
title: getReasonPhrase(response.status),
description: json.message,