$endtry

Closes the Error Handling block.

BDScript 2

Can only be used in BDScript 2.

Syntax

$endtry

Example

$nomention
$try
  $calculate[$message]
$endtry
  • With $endtry:
!example 5+2 7
  • Without $endtry:
!example 5+2 $try not closed with $endtry or invalid use of $sum

What is this?

How $calculate[], $message and $try works?

Read more

For more information, read the Error Handling guide.