method Try.build
Try.build(
statement,
catchClauses
)

Builder function for Try instructions.

Parameters

statement

A statement (instruction or data value) or a non-empty array of statements.

catchClauses

One catch clause or an array of catch clauses.

Return Type

Throws

Error

Usage

import { Try } from ".";