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

io.vertx.up.uca.failure.Readible Maven / Gradle / Ivy

There is a newer version: 0.9.0
Show newest version
package io.vertx.up.uca.failure;

import io.vertx.up.exception.WebException;
import io.vertx.up.util.Ut;

/**
 * Fill the field "readible" for input exception
 */
public interface Readible {
    /**
     * Get code readible
     *
     * @return
     */
    static Readible get() {
        return Ut.singleton(CodeReadible.class);
    }

    /**
     * Fill the field "readible" for web exception
     *
     * @param error
     * @return
     */
    void interpret(WebException error);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy