SharedThunk.tryForce

SharedThunkResult!T tryForce(this This)() if (!is(This == const) && !is(This == immutable)) @safe

Force and report recoverable failures using DDN result types.

Error objects are never caught. D's inferred nothrow attribute, where available, does not prohibit Errors. Default handles produce diagnostics for their invalid operation rather than a shared cached failure.

Returns

SharedThunkResult carrying a value/completion or diagnostic.

Throws

Fatal or synchronization errors.