presto-spi/src/main/java/io/prestosql/spi/PrestoException.java/PrestoException/getRawMessage
class PrestoException:    public String getRawMessage()
    {
        String message = super.getMessage();
        if (message == null && getCause() != null) {
            message = getCause().getMessage();
        }
        if (message == null) {
            message = errorCode.getName();
        }
        return message;
    }