using System;

namespace ExtensiblePortfolioSite.SDK.Git
{
    internal sealed class GitObjectNotFoundException : Exception
    {
        public GitReferenceKind ObjectKind { get; }
        public Uri Path { get; }

        public GitObjectNotFoundException(GitReferenceKind ObjectKind, Uri Path) : base($"Failed to Find {ObjectKind} '{Path}'")
        {
            this.ObjectKind = ObjectKind;
            this.Path = Path;
        }
    }
}
