Class BusinessException
Inheritance
BusinessException
Assembly: Volo.Abp.Core.dll
Syntax
public class BusinessException : Exception, ISerializable, IBusinessException, IHasErrorCode, IHasErrorDetails, IHasLogLevel
Constructors
BusinessException(string?, string?, string?, Exception?, LogLevel)
Declaration
public BusinessException(string? code = null, string? message = null, string? details = null, Exception? innerException = null, LogLevel logLevel = LogLevel.Warning)
Parameters
Properties
Code
Declaration
public string? Code { get; set; }
Property Value
Details
Declaration
public string? Details { get; set; }
Property Value
LogLevel
Declaration
public LogLevel LogLevel { get; set; }
Property Value
Methods
WithData(string, object)
Declaration
public BusinessException WithData(string name, object value)
Parameters
Returns
Implements
Extension Methods