|
|
|
@ -19,7 +19,11 @@ namespace Volo.Abp |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public BusinessException(string code = null, string message = null, string details = null, Exception innerException = null) |
|
|
|
public BusinessException( |
|
|
|
string code = null, |
|
|
|
string message = null, |
|
|
|
string details = null, |
|
|
|
Exception innerException = null) |
|
|
|
: base(message, innerException) |
|
|
|
{ |
|
|
|
Code = code; |
|
|
|
@ -34,5 +38,11 @@ namespace Volo.Abp |
|
|
|
{ |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
public BusinessException WithData(string name, object value) |
|
|
|
{ |
|
|
|
Data[name] = value; |
|
|
|
return this; |
|
|
|
} |
|
|
|
} |
|
|
|
} |