Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ThrowExceptionFromErrorCode() [2/2]

static void Microsoft.Xna.Framework.Helpers.ThrowExceptionFromErrorCode ( int error)
inlinestatic

Definition at line 95 of file Helpers.cs.

96 {
97 if (Failed(error))
98 {
99 throw GetExceptionFromResult((uint)error);
100 }
101 }
static Exception GetExceptionFromResult(uint result)
Definition Helpers.cs:115

References System.Runtime.InteropServices.Failed, and Microsoft.Xna.Framework.Helpers.GetExceptionFromResult().