public RepositoryException(RepositoryError error, string message, Exception innerException) : base(message, innerException) { Error = error; }
public RepositoryException(RepositoryError error, string message) : this(error, message, null) { }
public RepositoryException(RepositoryError error, Exception innerException) : this(error, null, innerException) { }
public RepositoryException(RepositoryError error) : this(error, null, null) { }