skript-mirror icon indicating copy to clipboard operation
skript-mirror copied to clipboard

Catching exceptions

Open 3meraldK opened this issue 4 years ago • 1 comments

I suggest to make a syntax for catching exceptions for example

try TownyMessaging.sendMessage({_p}, {_ex}):

    catch NotRegisteredException:

        send "A horrible error happened"

but idk

3meraldK avatar Jun 12 '20 13:06 3meraldK

Error handling is already a feature, documentation here.

btk5h avatar Jun 18 '20 18:06 btk5h