TryCatchFinally

@implicitNotFound("The `try` ... `catch` ... `finally` expression cannot contain !-notation inside a function that returns ${OuterDomain}.")
trait TryCatchFinally[Value, OuterDomain, BlockDomain, FinalizerDomain]

The type class to support try ... catch ... finally expression for OutputDomain.

!-notation is allowed by default for ? !! Throwable and Future domains, with the help of this type class.

Companion
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def tryCatchFinally(block: BlockDomain !! Value, catcher: Catcher[BlockDomain !! Value], finalizer: FinalizerDomain !! Unit, outerSuccessHandler: Value => OuterDomain): OuterDomain