com.gitee.easyopen.exception.EasyopenExceptionHandler Maven / Gradle / Ivy
package com.gitee.easyopen.exception;
import com.gitee.easyopen.Result;
import com.gitee.easyopen.ResultCreator;
/**
* @author tanghc
*/
public interface EasyopenExceptionHandler {
/**
* 触发异常
* @param resultCreator apiConfig
* @param e 异常
* @return 返回结果
*/
Result causeException(ResultCreator resultCreator, Throwable e);
}