~ruther/NosSmooth

ref: 107e3404e8fae3a83527fad979b1c33f0c8cb8de NosSmooth/Extensions/NosSmooth.Extensions.Pathfinding/Errors/StateNotInitializedError.cs -rw-r--r-- 501 bytes
107e3404 — Rutherther fix(pathfinding): return custom PathNotFoundError instead of NotFoundError 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//
//  StateNotInitializedError.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.Extensions.Pathfinding.Errors;

/// <summary>
/// Pathfinder state not initialized.
/// </summary>
public record StateNotInitializedError() : ResultError
    ("The pathfinder state is not yet initialized, the map is unknown. Must wait for c_map packet.");
Do not follow this link