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