protected void produce(long timestamp, String siddhiAppName, String streamName,
                           byte[] eventAsBytes, String cause, byte[] stackTraceAsBytes,
                           byte[] originalPayloadAsBytes, String errorOccurrence, String eventType,
                           String errorType) {
        final long seq;
        try {
            seq = dropWhenBufferFull ? ringBuffer.tryNext() : ringBuffer.next();
            final PublishableErrorEntry publishableErrorEntry = ringBuffer.get(seq);
            publishableErrorEntry.setTimestamp(timestamp);
            publishableErrorEntry.setSiddhiAppName(siddhiAppName);
            publishableErrorEntry.setStreamName(streamName);
            publishableErrorEntry.setEventAsBytes(eventAsBytes);
            publishableErrorEntry.setCause(cause);
            publishableErrorEntry.setStackTraceAsBytes(stackTraceAsBytes);
            publishableErrorEntry.setOriginalPayloadAsBytes(originalPayloadAsBytes);
            publishableErrorEntry.setErrorOccurrence(errorOccurrence);
            publishableErrorEntry.setEventType(eventType);
            publishableErrorEntry.setErrorType(errorType);
            ringBuffer.publish(seq);
        } catch (InsufficientCapacityException e) {
            log.error("Insufficient capacity in the buffer.", e);
        }
    }
Denotes the abstract error store in which, error event entries will be stored.
modules/siddhi-core/src/main/java/io/siddhi/core/util/error/handler/store/ErrorStore.java