Interface IExceptionToErrorInfoConverter
This interface can be implemented to convert an System.Exception object to an RemoteServiceErrorInfo object. Implements Chain Of Responsibility pattern.
Namespace: Volo.Abp.AspNetCore.ExceptionHandling
Assembly: Volo.Abp.AspNetCore.dll
Syntax
public interface IExceptionToErrorInfoConverter
Methods
Convert(Exception)
Converter method.
Declaration
RemoteServiceErrorInfo Convert(Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Exception | exception | The exception |
Returns
| Type | Description |
|---|---|
| RemoteServiceErrorInfo | Error info or null |