All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fluxcapacitor.javaclient.tracking.ThrowingErrorHandler Maven / Gradle / Ivy

There is a newer version: 0.1015.0
Show newest version
package io.fluxcapacitor.javaclient.tracking;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public enum ThrowingErrorHandler implements ErrorHandler {
    INSTANCE;

    @Override
    public void handleError(Exception error, String errorMessage, Runnable retryFunction) throws Exception {
        log.error("{}. Propagating error", errorMessage, error);
        throw error;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy