这是基于vue-vben-admin 模板适用于abp Vnext的前端管理项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
cKey 6d6e00006f upgrade abp framework 4.3.0 5 years ago
..
LINGYUN/Abp/ExceptionHandling Enhance IM functionality 5 years ago
LINGYUN.Abp.ExceptionHandling.csproj upgrade abp framework 4.3.0 5 years ago
README.md 增加几个常用模块README.md 6 years ago

README.md

LINGYUN.Abp.ExceptionHandling

基于abp框架底层的IExceptionSubscriber实现二次扩展,用于自定义异常通知方式

配置使用

使用前只需配置AbpExceptionHandlingOptions定义需要发送通知的异常即可。


    [DependsOn(
        typeof(AbpExceptionHandlingModule)
        )]
    public class YouProjectModule : AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            // 自定义需要处理的异常
            Configure<AbpExceptionHandlingOptions>(options =>
            {
                //  加入需要处理的异常类型
                options.Handlers.Add<AbpException>();
            });
        }
    }