Interface IErrorLogger
- Namespace
- BootstrapBlazor.Components
- Assembly
- BootstrapBlazor.dll
public interface IErrorLogger
- Extension Methods
Properties
ShowToast
获得 是否显示 Error 提示弹窗 默认 true 显示
bool ShowToast { get; }
Property Value
ToastTitle
获得 Error Toast 弹窗标题
string? ToastTitle { get; }
Property Value
Methods
HandlerExceptionAsync(Exception)
自定义 Error 处理方法
Task HandlerExceptionAsync(Exception ex)
Parameters
ex
Exception
Returns
Register(ComponentBase)
void Register(ComponentBase component)
Parameters
component
ComponentBase
UnRegister(ComponentBase)
void UnRegister(ComponentBase component)
Parameters
component
ComponentBase