Initial commit

This commit is contained in:
Deukhoofd committed 2024-07-20 13:55:54 +02:00
commit 3845f91601
26 files changed
+1822

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
using FluentResults;
namespace PkmnLib.Static.Utils.Errors;
public class OutOfRange : Error
{
public OutOfRange(string hint, int index, int max)
: base($"{hint} index {index} is out of range. Must be between 0 and {max - 1}.")
{
}
}