presto-phoenix/src/main/java/io/prestosql/plugin/phoenix/PhoenixErrorCode.java/PhoenixErrorCode/toErrorCode
class PhoenixErrorCode:    @Override
    public ErrorCode toErrorCode()
    {
        return errorCode;
    }