TryModule

scala.quoted.Quotes.reflectModule.TryModule
trait TryModule

Methods of the module object val Try

Attributes

Source
Quotes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def apply(expr: Term, cases: List[CaseDef], finalizer: Option[Term]): Try

Create a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>

Create a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>

Attributes

Source
Quotes.scala
def copy(original: Tree)(expr: Term, cases: List[CaseDef], finalizer: Option[Term]): Try

Attributes

Source
Quotes.scala

Matches a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>

Matches a try/catch try <body: Term> catch { <cases: List[CaseDef]> } finally <finalizer: Option[Term]>

Attributes

Source
Quotes.scala