Show / Hide Table of Contents

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

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft