Class BusinessException
public class BusinessException : Exception, ISerializable, IBusinessException, IHasErrorCode, IHasErrorDetails, IHasLogLevel
- Inheritance
-
BusinessException
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
BusinessException(string?, string?, string?, Exception?, LogLevel)
public BusinessException(string? code = null, string? message = null, string? details = null, Exception? innerException = null, LogLevel logLevel = LogLevel.Warning)
Parameters
Properties
Code
public string? Code { get; set; }
Property Value
Details
public string? Details { get; set; }
Property Value
LogLevel
Log severity.
public LogLevel LogLevel { get; set; }
Property Value
Methods
WithData(string, object)
public BusinessException WithData(string name, object value)