Skip to content

JSPromise.Catch method

Registers a callback that is invoked when a promise is rejected, and returns a new chained promise.

C#
public JSPromise Catch(Func<JSError, JSValue> rejected)

See Also

Released under the MIT license