com.gitee.easyopen.exception.EasyopenExceptionHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of easyopen-mini Show documentation
Show all versions of easyopen-mini Show documentation
easyopen mini版,保留基本签名校验,文档功能。https://gitee.com/durcframework/easyopen
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);
}