public CanNotRegisterUserException(UserName name, string message) : base(message) { Name = name?.Value; }
public User(UserName name) { this.name = name; }