// // InjectionFailedError.cs // // Copyright (c) František Boháček. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using Remora.Results; namespace NosSmooth.Injector.Errors; /// /// The injection could not be finished successfully. /// /// The path to the dll. public record InjectionFailedError(string DllPath, string Reason, InjectionResult? Result = null) : ResultError ($"Could not inject {DllPath} dll into the process. {Reason}, {Result}");