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

cn.hiboot.mcn.autoconfigure.web.exception.handler.ExceptionHandler Maven / Gradle / Ivy

package cn.hiboot.mcn.autoconfigure.web.exception.handler;

import cn.hiboot.mcn.autoconfigure.web.exception.ExceptionProperties;
import cn.hiboot.mcn.core.model.result.RestResp;

/**
 * DefaultExceptionHandler
 *
 * @author DingHao
 * @since 2023/6/17 23:12
 */
public interface ExceptionHandler{
    ExceptionProperties config();
    RestResp handleException(Throwable exception);
    void handleError(Error error);
    void logError(Throwable t);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy