using System;
namespace Abp.Web.Models
{
///
/// This interface is used to build objects.
///
public interface IErrorInfoBuilder
{
///
/// Creates a new instance of using the given object.
///
/// The exception object
/// Created object
ErrorInfo BuildForException(Exception exception);
///
/// Adds an object.
///
/// Converter
void AddExceptionConverter(IExceptionToErrorInfoConverter converter);
}
}