You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
700 B
25 lines
700 B
3 months ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
namespace Kean.Domain
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 仓库异常
|
||
|
/// </summary>
|
||
|
public sealed class RepositoryException : Exception
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 初始化 Kean.Domain.RepositoryException 类的新实例
|
||
|
/// </summary>
|
||
|
/// <param name="message">异常信息</param>
|
||
|
/// <param name="member">成员信息</param>
|
||
|
public RepositoryException(string message, KeyValuePair<string, object> member)
|
||
|
: base(message) => Member = member;
|
||
|
|
||
|
/// <summary>
|
||
|
/// 成员信息
|
||
|
/// </summary>
|
||
|
public KeyValuePair<string, object> Member { get; set; }
|
||
|
}
|
||
|
}
|