~ruther/NosSmooth

ref: 31e19213ce3e3c68d47f0d760c04667571bb3e79 NosSmooth/Local/NosSmooth.LocalBinding/Errors/BindingNotFoundError.cs -rw-r--r-- 655 bytes
31e19213 — František Boháček chore: remove nossmooth core vcxproj 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//
//  BindingNotFoundError.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.LocalBinding.Errors;

/// <summary>
/// The memory pattern was not found in the memory.
/// </summary>
/// <param name="Pattern">The pattern that could not be found.</param>
/// <param name="Path">The entity the pattern should represent.</param>
public record BindingNotFoundError(string Pattern, string Path)
    : ResultError($"Could not find pattern ({Pattern}) in the memory while searching for {Path}.");