Skip to content

NodeApiStatusExtensions.ThrowIfFailed method (1 of 2)

C#
public static void ThrowIfFailed(this napi_status status, 
    [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", 
    [CallerLineNumber] int sourceLineNumber = 0)

See Also


NodeApiStatusExtensions.ThrowIfFailed<T> method (2 of 2)

C#
public static T ThrowIfFailed<T>(this napi_status status, T value, 
    [CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "", 
    [CallerLineNumber] int sourceLineNumber = 0)

See Also

Released under the MIT license