~ruther/NosSmooth.Local

ref: 91dd37ebaaacac589d16d2ec29dfe74013a15ab9 NosSmooth.Local/src/Inject/NosSmooth.Injector/Errors/InjectionFailedError.cs -rw-r--r-- 590 bytes
91dd37eb — Rutherther feat(injector): obtain full path of nethost.dll 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//
//  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;

/// <summary>
/// The injection could not be finished successfully.
/// </summary>
/// <param name="DllPath">The path to the dll.</param>
public record InjectionFailedError(string DllPath, string Reason, InjectionResult? Result = null) : ResultError
    ($"Could not inject {DllPath} dll into the process. {Reason}, {Result}");
Do not follow this link