@ParameterizedTest
    @ArgumentsSource(GrpcWebUnaryGrpcSerializationFormatArgumentsProvider.class)
    void errorHandlingForGrpcWeb(SerializationFormat serializationFormat) {
        final UnaryGrpcClient client = Clients.newClient(getUri(serializationFormat), UnaryGrpcClient.class);
        final StreamingOutputCallRequest request = StreamingOutputCallRequest.getDefaultInstance();
        assertThatThrownBy(
                () -> client.execute("/armeria.grpc.testing.TestService/StreamingOutputCall",
                                     request.toByteArray()).join())
                .isInstanceOf(CompletionException.class)
                .hasCauseInstanceOf(ArmeriaStatusException.class)
                .hasMessageContaining(
                        "received more than one data message; UnaryGrpcClient does not support streaming.");
    }
This shows we can handle status that happens in trailers.
grpc/src/test/java/com/linecorp/armeria/client/grpc/protocol/UnaryGrpcClientTest.java