public static TriRpcStatus getStatus(Throwable throwable) {
        return getStatus(throwable, null);
    }
@Test
    void testGetStatus() {
        StatusRpcException rpcException = new StatusRpcException(TriRpcStatus.INTERNAL);
        Assertions.assertEquals(TriRpcStatus.INTERNAL.code, TriRpcStatus.getStatus(rpcException, null).code);

        Assertions.assertEquals(
                TriRpcStatus.DEADLINE_EXCEEDED.code,
                TriRpcStatus.getStatus(new RpcException(RpcException.TIMEOUT_EXCEPTION), null).code);

        Assertions.assertEquals(
                TriRpcStatus.DEADLINE_EXCEEDED.code,
                TriRpcStatus.getStatus(new TimeoutException(true, null, null), null).code);
    }