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

com.elopteryx.paint.upload.OnError Maven / Gradle / Ivy

package com.elopteryx.paint.upload;

/**
 * A functional interface. An implementation of it must be passed in the
 * {@link UploadParser#onError(OnError)} onError} method to call it after an error occurs.
 */
public interface OnError {

    /**
     * The consumer function to implement.
     * @param context The upload context
     * @param throwable The error that occurred
     */
    void onError(UploadContext context, Throwable throwable);
    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy