public void saveMappingError(String siddhiAppName, List<ErroneousEvent> erroneousEvents,
                                 String streamName) {
        for (ErroneousEvent erroneousEvent : erroneousEvents) {
            try {
                save(siddhiAppName, streamName, erroneousEvent, ErroneousEventType.PAYLOAD_STRING,
                        ErrorOccurrence.BEFORE_SOURCE_MAPPING, ErrorType.MAPPING);
            } catch (ErrorStoreException e) {
                log.error("Failed to save erroneous event.", 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