presto-main/src/main/java/io/prestosql/server/BasicQueryInfo.java/BasicQueryInfo/getErrorCode
class BasicQueryInfo:    @Nullable
    @JsonProperty
    public ErrorCode getErrorCode()
    {
        return errorCode;
    }