presto-main/src/main/java/io/prestosql/execution/QueryInfo.java/QueryInfo/getErrorType
class QueryInfo:    @Nullable
    @JsonProperty
    public ErrorType getErrorType()
    {
        return errorType;
    }