Show / Hide Table of Contents

Interface IExceptionToErrorInfoConverter

This interface can be implemented to convert an object to an RemoteServiceErrorInfo object. Implements Chain Of Responsibility pattern.

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

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.IsIn<T>(T, IEnumerable<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