public String toEncodedMessage() {
        String output = limitSizeTo1KB(toMessage());
        return encodeComponent(output);
    }
@Test
    void toEncodedMessage() {
        String message = TriRpcStatus.NOT_FOUND
                .withDescription("desc")
                .withCause(new IllegalStateException("test"))
                .toEncodedMessage();
        Assertions.assertTrue(message.contains("desc"));
        Assertions.assertTrue(message.contains("test"));
    }