~ruther/NosSmooth.Local

ref: b9a0a7143727a84910992e29d2d345e1e9869f85 NosSmooth.Local/src/Inject/NosSmooth.Injector/Errors/ProcessNotFoundError.cs -rw-r--r-- 519 bytes
b9a0a714 — Rutherther feat: remove asserts and return an error as thread exit code 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//
//  ProcessNotFoundError.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 given process was not found.
/// </summary>
/// <param name="ProcessId">The id of the process.</param>
public record ProcessNotFoundError(string ProcessId)
    : NotFoundError($"Could not find process with the given id {ProcessId}.");
Do not follow this link