$catch
Used to create a sub-block between $try and $endtry that will contain the code that will be executed when an error occurs.
Can only be used in BDScript 2.
Syntax
$catch
Example
$nomention
$try
$calculate[$message]
$catch
❌ Invalid expression!
$endtry
How $calculate[], $message, $try and $endtry works?
For more information, read the Error Handling guide.