protected EventHandler<PublishableErrorEntry>[] getEventHandler() {
        final EventHandler<PublishableErrorEntry> eventHandler = (event, sequence, endOfBatch) ->
                saveEntry(event.getTimestamp(), event.getSiddhiAppName(), event.getStreamName(),
                        event.getEventAsBytes(), event.getCause(), event.getStackTraceAsBytes(),
                        event.getOriginalPayloadAsBytes(), event.getErrorOccurrence(), event.getEventType(),
                        event.getErrorType());
        return new EventHandler[]{eventHandler};
    }
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