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