diff --git a/BeefLibs/corlib/src/Enum.bf b/BeefLibs/corlib/src/Enum.bf index dadbcbc4..d1f54112 100644 --- a/BeefLibs/corlib/src/Enum.bf +++ b/BeefLibs/corlib/src/Enum.bf @@ -99,7 +99,12 @@ namespace System [NoShow(true)] public static Result Parse(StringView str, bool ignoreCase = false) where T : enum { - return EnumParser.Parse(str, ignoreCase); + [IgnoreErrors(true)] + { + return EnumParser.Parse(str, ignoreCase); + } +#unwarn + return .Err; } [NoShow(true)]