namespace marlin.core.functional; public sealed class GitCommandException : Exception { public string Command { get; } public int ExitCode { get; } public string StandardError { get; } public GitCommandException(string command, int exitCode, string standardError) : base($"git {command} exited with code {exitCode}: {standardError.Trim()}") { this.Command = command; this.ExitCode = exitCode; this.StandardError = standardError; } }