How to detect HTTP response code from EndpointError

Hello, it would be nice to get the http response code in EndpointError, I guess now I have to rely on the error.message text "expected "200 OK" response, but got 401 " and parse 401 from it?

Can you create a ticket? GitHub - vaadin/hilla: Build better business applications, faster. No more juggling REST endpoints or deciphering GraphQL queries. Hilla seamlessly connects Spring Boot and React to accelerate application development.

Done, thanks