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.
18 lines
482 B
18 lines
482 B
3 years ago
|
using Sanhe.Abp.ExceptionHandling.Localization;
|
||
|
using Volo.Abp.Localization;
|
||
|
using Volo.Abp.Modularity;
|
||
|
|
||
|
namespace Sanhe.Abp.ExceptionHandling;
|
||
|
|
||
|
[DependsOn(typeof(AbpLocalizationModule))]
|
||
|
public class AbpExceptionHandlingModule : AbpModule
|
||
|
{
|
||
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
||
|
{
|
||
|
Configure<AbpLocalizationOptions>(options =>
|
||
|
{
|
||
|
options.Resources.Add<ExceptionHandlingResource>("en");
|
||
|
});
|
||
|
}
|
||
|
}
|