Interface IExceptionToErrorInfoConverter
This interface can be implemented to convert an
Namespace: Volo.Abp.AspNetCore.ExceptionHandling
Assembly: Volo.Abp.ExceptionHandling.dll
Syntax
public interface IExceptionToErrorInfoConverter
Methods
Convert(Exception, Boolean)
Converter method.
Declaration
RemoteServiceErrorInfo Convert(Exception exception, bool includeSensitiveDetails)
Parameters
| Type | Name | Description |
|---|---|---|
| Exception | exception | The exception |
| System.Boolean | includeSensitiveDetails | Should include sensitive details to the error info? |
Returns
| Type | Description |
|---|---|
| RemoteServiceErrorInfo | Error info or null |