public StatusRpcException asException() {
        return new StatusRpcException(this);
    }
@Test
    void asException() {
        StatusRpcException exception = TriRpcStatus.NOT_FOUND
                .withDescription("desc")
                .withCause(new IllegalStateException("test"))
                .asException();
        Assertions.assertEquals(Code.NOT_FOUND, exception.getStatus().code);
    }