When raw method is annotated as @tried, invocations of real methods matching that raw method will be
automatically wrapped into Try. Consequently, all real methods will be treated as if their result
type was Try[Result] instead of actual Result. For example, if raw method is encoded and its
(raw) result is Raw then macro engine will search for implicit AsRaw/Real[Raw,Try[Result]] instead of just
AsRaw/Real[Raw,Result]
When raw method is annotated as
@tried
, invocations of real methods matching that raw method will be automatically wrapped intoTry
. Consequently, all real methods will be treated as if their result type wasTry[Result]
instead of actualResult
. For example, if raw method is encoded and its (raw) result isRaw
then macro engine will search for implicitAsRaw/Real[Raw,Try[Result]]
instead of justAsRaw/Real[Raw,Result]