@Override
    public boolean isError(final SpanObject spanObject) {
        return spanObject.getSpanId() == 0 && spanObject.getIsError();
    }
FromFirstSpan means the status of the segment is the same as the status of the first span. Mostly, the first span is
an entry span. However, a tracing caused by a scheduled task, the first one should be a local span.
oap-server/analyzer/agent-analyzer/src/main/java/org/apache/skywalking/oap/server/analyzer/provider/trace/parser/listener/strategy/FromFirstSpan.java