mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-26 19:48:01 +02:00
Fixed error string
This commit is contained in:
parent
5e5084886c
commit
740b00629a
1 changed files with 2 additions and 2 deletions
|
@ -114,7 +114,7 @@ namespace System
|
|||
case .Ok(var val): return val;
|
||||
case .Err(var err):
|
||||
{
|
||||
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n ", err), 2);
|
||||
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n {}", err), 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -190,7 +190,7 @@ namespace System
|
|||
{
|
||||
if (this case .Err(var err))
|
||||
{
|
||||
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n ", err), 1);
|
||||
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n {}", err), 1);
|
||||
}
|
||||
NoDispose<T>();
|
||||
NoDispose<TErr>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue