catching

@RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP])
fun catching(block: () -> T): MoETask<T>

For SDK internal use only — runs block, resolving with its return value or rejecting with the thrown exception.

Return

This instance for chaining.